fixed error in import.php category object fetching logic

This commit is contained in:
jamiesensei 2007-05-07 07:08:41 +00:00
parent 561fe61df3
commit f86c2c84b1

View File

@ -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');
}