More capability name typos.

This commit is contained in:
tjhunt
2006-09-20 08:01:59 +00:00
parent c954040189
commit 1da5a36294
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1481,7 +1481,7 @@ function question_category_select_menu($courseid, $published = false, $only_edit
if ($cid==$selected) {
$seltxt = "selected=\"selected\"";
}
if ((!$only_editable) || has_capability('moodle/question:managecateory', get_context_instance(CONTEXT_COURSE, $category->course))) {
if ((!$only_editable) || has_capability('moodle/question:managecategory', get_context_instance(CONTEXT_COURSE, $category->course))) {
echo " <option value=\"$cid\" $seltxt>$cname</option>\n";
}
}