Permalink
Browse files

Strange missing parameter - bug #4121

  • Loading branch information...
1 parent 1ff64b7 commit 9a94d087a80d6f517e695fbfb1fa5717148a9b5f thepurpleblob committed Oct 19, 2005
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/quiz/editlib.php
  2. +1 −1 mod/quiz/export.php
View
2 mod/quiz/editlib.php
@@ -509,7 +509,7 @@ function quiz_print_cat_question_list($course, $categoryid, $quizid,
helpbutton("import", $strimportquestions, "quiz");
echo ' | ';
}
- echo '<a href="export.php?category='.$category->id.'">'.$strexportquestions.'</a>';
+ echo "<a href=\"export.php?category={$category->id}&course={$course->id}\">$strexportquestions</a>";
helpbutton("export", $strexportquestions, "quiz");
echo '</font></td></tr>';
View
2 mod/quiz/export.php
@@ -106,7 +106,7 @@
print_heading_with_help($strexportquestions, "export", "quiz");
print_simple_box_start("center");
- echo "<form enctype=\"multipart/form-data\" method=\"post\" action=\"export.php?course=$courseid\">";
+ echo "<form enctype=\"multipart/form-data\" method=\"post\" action=\"export.php?course={$course->id}\">";
echo "<table cellpadding=\"5\">";
echo "<tr><td align=\"right\">";

0 comments on commit 9a94d08

Please sign in to comment.