From: moodler Date: Thu, 6 Jan 2005 02:38:50 +0000 (+0000) Subject: This bug stopped this page from even working .... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0181cf725db950bd1d11a450a33169c326b3375a;p=moodle.git This bug stopped this page from even working .... --- diff --git a/mod/quiz/edit.php b/mod/quiz/edit.php index 8ce36301da..0962ba338d 100644 --- a/mod/quiz/edit.php +++ b/mod/quiz/edit.php @@ -194,7 +194,7 @@ } 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;