Skip to content

Commit

Permalink
fixed error in import.php category object fetching logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesensei committed May 7, 2007
1 parent 561fe61 commit f86c2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@



if ($category = get_record("question_categories", "id", $pagevars['cat'])) {
if (!$category = get_record("question_categories", "id", $pagevars['cat'])) {
// if no valid category was given, use the default category
print_error('nocategory','quiz');
}
Expand Down

0 comments on commit f86c2c8

Please sign in to comment.