Permalink
Browse files

MDL-31019 quiz secure mode. Fix typo that breaks submit.

  • Loading branch information...
1 parent a1d2463 commit 0f504be67be2cd49e7a312f7c5f28919a587c9e6 @timhunt timhunt committed Jan 9, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/quiz/renderer.php
View
@@ -489,11 +489,11 @@ public function close_attempt_popup($url, $message = '') {
$output .= $this->box_start();
if ($message) {
- $output .= html_writer('p', $message);
- $output .= html_writer('p', get_string('windowclosing', 'quiz'));
+ $output .= html_writer::tag('p', $message);
+ $output .= html_writer::tag('p', get_string('windowclosing', 'quiz'));
$delay = 5;
} else {
- $output .= html_writer('p', get_string('pleaseclose', 'quiz'));
+ $output .= html_writer::tag('p', get_string('pleaseclose', 'quiz'));
$delay = 0;
}
$this->page->requires->js_function_call('M.mod_quiz.secure_window.close',

0 comments on commit 0f504be

Please sign in to comment.