mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-34025 - quiz secure window: fix popup closing
This commit is contained in:
parent
6be7840ce6
commit
f28da7fcc7
@ -445,7 +445,7 @@ class quiz_access_manager {
|
||||
*/
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user