MDL-42812 mod_quiz: Fixed up a syntax error for additional name fields.
authorAdrian Greeve <adrian@moodle.com>
Tue, 12 Nov 2013 07:46:45 +0000 (15:46 +0800)
committerAdrian Greeve <adrian@moodle.com>
Tue, 12 Nov 2013 07:46:45 +0000 (15:46 +0800)
mod/quiz/report/attemptsreport_table.php

index 1b626ab..28a6d82 100644 (file)
@@ -123,7 +123,7 @@ abstract class quiz_attempts_report_table extends table_sql {
         $user = new stdClass();
         $additionalfields = explode(',', user_picture::fields());
         $user = username_load_fields_from_object($user, $attempt, null, $additionalfields);
-        $user->id = $attempt->userid
+        $user->id = $attempt->userid;
         return $OUTPUT->user_picture($user);
     }