Permalink
Browse files

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

…OODLE_22_STABLE
  • Loading branch information...
2 parents 7e9f291 + 0f504be commit 10c3c6d49cb0f56b637984fffb0f7e4a122e72a1 Sam Hemelryk committed Jan 10, 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 10c3c6d

Please sign in to comment.