Permalink
Browse files

MDL-34025 - quiz secure window: fix popup closing

  • Loading branch information...
1 parent 68b0cae commit 0601dd6961e44e438abb10f8f6ba097f7475fafc @markn86 markn86 committed Jun 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/accessmanager.php
View
2 mod/quiz/accessmanager.php
@@ -452,7 +452,7 @@ public function get_popup_options() {
*/
public function back_to_view_page($output, $message = '') {
if ($this->attempt_must_be_in_popup()) {
- echo $output->close_attempt_popup($message, $this->quizobj->view_url());
+ echo $output->close_attempt_popup($this->quizobj->view_url(), $message);
die();
} else {
redirect($this->quizobj->view_url(), $message);

0 comments on commit 0601dd6

Please sign in to comment.