From df5e4d3106a318333d747fd05aef833a0c7c4049 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 19 Sep 2006 22:57:38 +0000 Subject: [PATCH] Another typo in capability name. --- question/showbank.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/showbank.php b/question/showbank.php index 392bc571fe..b6ac1a8e8f 100644 --- a/question/showbank.php +++ b/question/showbank.php @@ -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(); -- 2.39.5