Permalink
Browse files

Fix for typo MDL-6537

  • Loading branch information...
1 parent ef47a3e commit cfd6b5053f5848a71942b63d8e255c8548b5ed2e moodler committed Sep 26, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/restore_execute.html
@@ -26,7 +26,7 @@
if (empty($to)) {
error("You need to be a teacher or admin user to use this page.", "$CFG->wwwroot/login/index.php");
} else {
- if (!has_capability('moodle/site:restore', get_context_instance(CONTEXT_COUESE, $to))) {
+ if (!has_capability('moodle/site:restore', get_context_instance(CONTEXT_COURSE, $to))) {
error("You need to be a teacher or admin user to use this page.", "$CFG->wwwroot/login/index.php");
}
}

0 comments on commit cfd6b50

Please sign in to comment.