Skip to content

Commit

Permalink
Typo in capability name.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed Sep 19, 2006
1 parent 6fceebe commit 8cd402f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/editlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 8cd402f

Please sign in to comment.