Permalink
Browse files

MDL-34025 - quiz secure window: fix popup closing

  • Loading branch information...
1 parent a5f6ea2 commit faca7084844ff3b73c44fe81c3e2e7da9ed8388b @markn86 markn86 committed Jun 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/accessmanager.php
@@ -445,7 +445,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 faca708

Please sign in to comment.