From 7c86af621e7b8eb86e2d894550f4b4f6d68fd627 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Fri, 30 Nov 2012 11:48:26 +0000 Subject: [PATCH] MDL-35404 question export: make it work with slasharguments off. Thanks to Brian King for working out the problem and how to fix it. I am just committing his patch. --- question/export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/export.php b/question/export.php index e28fe3012db..8f2396eb011 100644 --- a/question/export.php +++ b/question/export.php @@ -73,7 +73,7 @@ if ($from_form = $export_form->get_data()) { echo get_string('yourfileshoulddownload', 'question', $export_url->out()); echo $OUTPUT->box_end(); - $PAGE->requires->js_function_call('document.location.replace', array($export_url->out()), false, 1); + $PAGE->requires->js_function_call('document.location.replace', array($export_url->out(false)), false, 1); echo $OUTPUT->continue_button(new moodle_url('edit.php', $thispageurl->params())); echo $OUTPUT->footer();