]> git.mjollnir.org Git - moodle.git/commitdiff
Somehow missed this table reference during renaming.
authorgustav_delius <gustav_delius>
Mon, 13 Mar 2006 18:30:35 +0000 (18:30 +0000)
committergustav_delius <gustav_delius>
Mon, 13 Mar 2006 18:30:35 +0000 (18:30 +0000)
mod/quiz/report/overview/report.php

index 35933e426fad6c9a1518e2ea266b563ff6b8bdca..1dd2d767461d5bc45575ad8b0281bc6bdcdb2e86 100644 (file)
@@ -403,7 +403,7 @@ class quiz_report extends quiz_default_report {
                         }
                         else {
                             foreach($questionids as $questionid) {
-                                if ($gradedstateid = get_field('quiz_newest_states', 'newgraded', 'attemptid', $attempt->attemptuniqueid, 'questionid', $questionid)) {
+                                if ($gradedstateid = get_field('question_sessions', 'newgraded', 'attemptid', $attempt->attemptuniqueid, 'questionid', $questionid)) {
                                     $grade = round(get_field('question_states', 'grade', 'id', $gradedstateid), $quiz->decimalpoints);
                                 } else {
                                     // This is an old-style attempt