Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-31019_22' of git://github.com/timhunt/moodle into M…

…OODLE_22_STABLE
  • Loading branch information...
commit 10c3c6d49cb0f56b637984fffb0f7e4a122e72a1 2 parents 7e9f291 + 0f504be
@samhemelryk samhemelryk authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/quiz/renderer.php
View
6 mod/quiz/renderer.php
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.