Skip to content
Browse files

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

…OODLE_21_STABLE
  • Loading branch information...
2 parents edfcab2 + bf850b4 commit 373c70e5d55c7482f4c27564993bc6d3f1a9186a @stronk7 stronk7 committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/quiz/startattempt.php
  2. +1 −1 mod/quiz/summary.php
View
2 mod/quiz/startattempt.php
@@ -102,7 +102,7 @@
if (!$quizobj->is_preview_user() && $messages) {
$output = $PAGE->get_renderer('mod_quiz');
print_error('attempterror', 'quiz', $quizobj->view_url(),
- $output->print_messages($messages));
+ $output->access_messages($messages));
}
$accessmanager->do_password_check($quizobj->is_preview_user());
View
2 mod/quiz/summary.php
@@ -61,7 +61,7 @@
$output = $PAGE->get_renderer('mod_quiz');
if (!$attemptobj->is_preview_user() && $messages) {
print_error('attempterror', 'quiz', $attemptobj->view_url(),
- $output->print_messages($messages));
+ $output->access_messages($messages));
}
$accessmanager->do_password_check($attemptobj->is_preview_user());

0 comments on commit 373c70e

Please sign in to comment.
Something went wrong with that request. Please try again.