mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
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:
parent
7443a8c43e
commit
cc93459372
2 changed files with 9 additions and 3 deletions
|
@ -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}&courseid={$course->id}\">$strexportquestions</a>";
|
||||
helpbutton("export", $strexportquestions, "quiz");
|
||||
echo '</font></td></tr>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue