From: vyshane Date: Tue, 19 Sep 2006 07:13:57 +0000 (+0000) Subject: Fixed typo X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5ddc81b9738fa4b56af0ff2af4bae59ccd72bdf7;p=moodle.git Fixed typo --- diff --git a/backup/restore_form.html b/backup/restore_form.html index 7c5e4af157..215023b05e 100644 --- a/backup/restore_form.html +++ b/backup/restore_form.html @@ -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 {