Merge branch 'MDL-33119_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user