Browse files

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

…OODLE_22_STABLE
  • Loading branch information...
2 parents 57dd3c6 + 3c96772 commit 99778c82c7f5ec3076df1df3eeba297aecdb2375 @danpoltawski danpoltawski committed Jun 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/lib.php
View
2 mod/quiz/lib.php
@@ -418,7 +418,7 @@ function quiz_user_complete($course, $user, $mod, $quiz) {
if ($attempts = $DB->get_records('quiz_attempts',
array('userid' => $user->id, 'quiz' => $quiz->id), 'attempt')) {
foreach ($attempts as $attempt) {
- echo get_string('attempt', 'quiz').' '.$attempt->attempt.': ';
+ echo get_string('attempt', 'quiz', $attempt->attempt) . ': ';
if ($attempt->timefinish == 0) {
print_string('unfinished');
} else {

0 comments on commit 99778c8

Please sign in to comment.