From f3fb11f378183a325be1a3ee1c46bb63a9d8c89e Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 19 Sep 2006 22:58:12 +0000 Subject: [PATCH] And another typo in capability name. --- question/editlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/editlib.php b/question/editlib.php index 2d56bbab0f..d33ac891ac 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -263,7 +263,7 @@ function question_list($course, $categoryid, $quizid=0, echo ''; // check if editing of this category is allowed - if (has_capability('moodle/question:managecateory', $context)) { + if (has_capability('moodle/question:managecategory', $context)) { echo ""; echo '
$strcreatenewquestion:'; popup_form ("$CFG->wwwroot/question/question.php?category=$category->id&qtype=", $qtypemenu, "addquestion", -- 2.39.5