Export now saves file in correct course file area (ie, the current one).

Export now works for published courses where the teacher is not
a teacher on the 'remote' course.
See bug #3996 and bug #3985
This commit is contained in:
thepurpleblob 2005-08-30 15:13:37 +00:00
parent 7443a8c43e
commit cc93459372
2 changed files with 9 additions and 3 deletions

View file

@ -505,7 +505,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}&amp;courseid={$course->id}\">$strexportquestions</a>";
helpbutton("export", $strexportquestions, "quiz");
echo '</font></td></tr>';