Skip to content

Commit

Permalink
Minor robustness fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Apr 10, 2003
1 parent b1db099 commit da5fb07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/quiz/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,8 @@ function quiz_get_default_category($courseid) {
}

function quiz_get_category_menu($courseid, $published=false) {
/// Returns the list of categories
$publish = "";
if ($published) {
$publish = "OR publish = '1'";
}
Expand Down

0 comments on commit da5fb07

Please sign in to comment.