]> git.mjollnir.org Git - moodle.git/commitdiff
Fix for typo MDL-6537
authormoodler <moodler>
Tue, 26 Sep 2006 01:11:53 +0000 (01:11 +0000)
committermoodler <moodler>
Tue, 26 Sep 2006 01:11:53 +0000 (01:11 +0000)
backup/restore_execute.html

index 758635c525f602bcb0c4bca2ed978d7581c71096..25ae3a2bb756a6d88c8ce64504ff65e342ce7a0b 100644 (file)
@@ -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");
                 }
             }