]> git.mjollnir.org Git - moodle.git/commitdiff
fixed bug where select box for category is shown but changing it doesn't do anything
authorthepurpleblob <thepurpleblob>
Thu, 17 Jun 2004 17:31:12 +0000 (17:31 +0000)
committerthepurpleblob <thepurpleblob>
Thu, 17 Jun 2004 17:31:12 +0000 (17:31 +0000)
category selected in previous edit screen now used, and *fixed* category displayed.
Course shortname has been added to category where category is published

mod/quiz/import.php

index ba5a2a34a3e37a37a50c8a865a79446b988f0ee8..d7a0490a7aea9f9cd6f4f22642e7a6972488f3d3 100644 (file)
     echo "<tr><td align=right>";
     print_string("category", "quiz");
     echo ":</td><td>";
-    choose_from_menu($categories, "category", "$category->id", "");
+    // choose_from_menu($categories, "category", "$category->id", "");
+    echo quiz_get_category_coursename($category);
     echo "</tr>";
 
     echo "<tr><td align=right>";