]> git.mjollnir.org Git - moodle.git/commitdiff
fixed yet another missing courseid parameter :-)
authorthepurpleblob <thepurpleblob>
Tue, 14 Mar 2006 09:57:54 +0000 (09:57 +0000)
committerthepurpleblob <thepurpleblob>
Tue, 14 Mar 2006 09:57:54 +0000 (09:57 +0000)
question/editlib.php

index 6b2009e6a517030b17686df6d90dccd8845a0996..c6f7acf4f3230b45b7978789e9b9ddf3a6b006d0 100644 (file)
@@ -83,6 +83,7 @@ function question_category_form($course, $current, $recurse=1, $showhidden=false
     echo '</td></tr></table>';
     echo '<form method="post" action="edit.php" name="displayoptions">';
     echo '<table><tr><td>';
+    echo "<input type=\"hidden\" name=\"courseid\" value=\"{$course->id}\" />";
     echo '<input type="hidden" name="recurse" value="0" />';
     echo '<input type="checkbox" name="recurse" value="1"';
     if ($recurse) {