]> git.mjollnir.org Git - moodle.git/commitdiff
Another typo in capability name.
authortjhunt <tjhunt>
Tue, 19 Sep 2006 22:57:38 +0000 (22:57 +0000)
committertjhunt <tjhunt>
Tue, 19 Sep 2006 22:57:38 +0000 (22:57 +0000)
question/showbank.php

index 392bc571feb5cf626bdb3d68777d2c847f7ed5ad..b6ac1a8e8f5ce7f287772da3ed0dd0e0de6bfdf3 100644 (file)
@@ -163,7 +163,7 @@ if (empty($SESSION->questioncat) or !count_records_select("question_categories",
     }
 
     // starts with category selection form
-    if (has_capability('moodle/question:managecategories', $context)) {
+    if (has_capability('moodle/question:managecategory', $context)) {
         print_simple_box_start("center", "100%");
         question_category_form($course, $SESSION->questioncat, $SESSION->questionrecurse, $SESSION->questionshowhidden);
         print_simple_box_end();