mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
And another typo in capability name.
This commit is contained in:
parent
df5e4d3106
commit
f3fb11f378
@ -263,7 +263,7 @@ function question_list($course, $categoryid, $quizid=0,
|
||||
echo '<table><tr>';
|
||||
|
||||
// check if editing of this category is allowed
|
||||
if (has_capability('moodle/question:managecateory', $context)) {
|
||||
if (has_capability('moodle/question:managecategory', $context)) {
|
||||
echo "<td valign=\"top\"><b>$strcreatenewquestion:</b></td>";
|
||||
echo '<td valign="top" align="right">';
|
||||
popup_form ("$CFG->wwwroot/question/question.php?category=$category->id&qtype=", $qtypemenu, "addquestion",
|
||||
|
Loading…
x
Reference in New Issue
Block a user