From: moodler Date: Tue, 26 Sep 2006 01:11:53 +0000 (+0000) Subject: Fix for typo MDL-6537 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cfd6b5053f5848a71942b63d8e255c8548b5ed2e;p=moodle.git Fix for typo MDL-6537 --- diff --git a/backup/restore_execute.html b/backup/restore_execute.html index 758635c525..25ae3a2bb7 100644 --- a/backup/restore_execute.html +++ b/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"); } }