fixed category switching bug

This commit is contained in:
skodak
2006-03-07 23:59:33 +00:00
parent b1f00c8985
commit e92d8ccf4d
+1 -1
View File
@@ -74,7 +74,7 @@ function question_category_form($course, $current, $recurse=1, $showhidden=false
echo "<table width=\"100%\"><tr><td width=\"20\" nowrap=\"nowrap\">";
echo "<b>$strcategory:</b>&nbsp;";
echo "</td><td>";
popup_form ("edit.php?cat=", $catmenu, "catmenu", $current, "", "", "", false, "self");
popup_form ("edit.php?courseid=$course->id&amp;cat=", $catmenu, "catmenu", $current, "", "", "", false, "self");
echo "</td><td align=\"right\">";
echo "<form method=\"get\" action=\"$CFG->wwwroot/question/category.php\">";
echo "<input type=\"hidden\" name=\"id\" value=\"$course->id\" />";