Fixed minor bug after creating default category.

This commit is contained in:
moodler
2002-10-26 05:17:53 +00:00
parent 960a79887b
commit cb62c00ad2
+1
View File
@@ -478,6 +478,7 @@ function quiz_print_category_form($course, $current) {
notify("Error creating a default category!");
return false;
}
$categories[$category->id] = $category;
}
foreach ($categories as $key => $category) {
if ($category->publish) {