]> git.mjollnir.org Git - moodle.git/commitdiff
This bug stopped this page from even working ....
authormoodler <moodler>
Thu, 6 Jan 2005 02:38:50 +0000 (02:38 +0000)
committermoodler <moodler>
Thu, 6 Jan 2005 02:38:50 +0000 (02:38 +0000)
mod/quiz/edit.php

index 8ce36301da5f808ba5bfd8ee9ee796241e4fe24d..0962ba338d515b1759672c79284c27b089665693 100644 (file)
     }
 
     if (empty($modform->category)) {
-        $modform->category = quiz_get_default_category($modform->course)->id;
+        $modform->category = quiz_get_default_category($course->id);
     }
     if (!isset($modform->recurse)) {
         $modform->recurse = 1;