Permalink
Browse files

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.
  • Loading branch information...
1 parent 15b3a43 commit 30ebefd416ea2a61a669e240481baa61b0a79c61 @timhunt timhunt committed Nov 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/export.php
View
@@ -73,7 +73,7 @@
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();

0 comments on commit 30ebefd

Please sign in to comment.