From: thepurpleblob Date: Wed, 23 Jun 2004 09:42:27 +0000 (+0000) Subject: fixed correct category not selected X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9ad7ce6bca2195d8ef1478453c5a4301b40a8111;p=moodle.git fixed correct category not selected --- diff --git a/mod/quiz/multichoice.html b/mod/quiz/multichoice.html index 5afb2566ba..5576efcf0e 100644 --- a/mod/quiz/multichoice.html +++ b/mod/quiz/multichoice.html @@ -4,7 +4,7 @@

:

- id, true, true); ?> + id, true, true, $question->category); ?> diff --git a/mod/quiz/multiple.php b/mod/quiz/multiple.php index e62afb32b7..47c86cf274 100644 --- a/mod/quiz/multiple.php +++ b/mod/quiz/multiple.php @@ -129,7 +129,7 @@ print_string("category", "quiz"); echo ":"; // choose_from_menu($categories, "category", "$category->id", ""); - quiz_category_select_menu($course->id, true, true ); + quiz_category_select_menu($course->id, true, true, $category->id ); echo ""; echo ""; diff --git a/mod/quiz/shortanswer.html b/mod/quiz/shortanswer.html index ce621449dc..669ccd36e5 100644 --- a/mod/quiz/shortanswer.html +++ b/mod/quiz/shortanswer.html @@ -4,7 +4,7 @@

:

- id, true, true); ?> + id, true, true, $question->category); ?> diff --git a/mod/quiz/truefalse.html b/mod/quiz/truefalse.html index 3b11eb0dbd..ed56dcd261 100644 --- a/mod/quiz/truefalse.html +++ b/mod/quiz/truefalse.html @@ -5,7 +5,7 @@

:

id, true, true); + quiz_category_select_menu($course->id, true, true, $question->category); ?>