Typo in capability name.

This commit is contained in:
tjhunt
2006-09-19 22:35:40 +00:00
parent 6fceebea95
commit 8cd402f900
+1 -1
View File
@@ -286,7 +286,7 @@ function question_list($course, $categoryid, $quizid=0,
echo ' | ';
}
if (has_capability('moodle/question:import', $context)) {
if (has_capability('moodle/question:export', $context)) {
echo "<a href=\"$CFG->wwwroot/question/export.php?category={$category->id}&amp;courseid={$course->id}\">$strexportquestions</a>";
helpbutton("export", $strexportquestions, "quiz");
}