]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed typo
authorvyshane <vyshane>
Tue, 19 Sep 2006 07:13:57 +0000 (07:13 +0000)
committervyshane <vyshane>
Tue, 19 Sep 2006 07:13:57 +0000 (07:13 +0000)
backup/restore_form.html

index 7c5e4af157dd335255f06bddc077174e19388554..215023b05e82d32862092f9c7434ffbff387c264 100644 (file)
@@ -23,7 +23,7 @@
 
     //Check admin
     if (!empty($id)) {
-        if (!has_capability('moodle/site:restore', get_context_instance(CONTEXT_COUESE, $id))) {
+        if (!has_capability('moodle/site:restore', get_context_instance(CONTEXT_COURSE, $id))) {
             error("You need to be a teacher or admin user to use this page.", "$CFG->wwwroot/login/index.php");
         }
     } else {