From: tjhunt Date: Tue, 19 Sep 2006 22:58:12 +0000 (+0000) Subject: And another typo in capability name. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f3fb11f378183a325be1a3ee1c46bb63a9d8c89e;p=moodle.git And another typo in capability name. --- 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",