From: mjollnir_ Date: Wed, 19 Apr 2006 02:31:32 +0000 (+0000) Subject: Correcting code to remove warning originating from earlier commit X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fbc525bc0b4c9eff92221c2fc4c2f63dd257baa7;p=moodle.git Correcting code to remove warning originating from earlier commit Peter Bulmer peterbulmer@catalyst.net.nz --- diff --git a/mod/quiz/view.php b/mod/quiz/view.php index 868077e17e..74257d0859 100644 --- a/mod/quiz/view.php +++ b/mod/quiz/view.php @@ -165,11 +165,11 @@ $mygrade = quiz_get_best_grade($quiz, $USER->id); /// Now print table with existing attempts + $gradecolumn=0; + $overallstats=1; if ($attempts) { - $gradecolumn=0; - $overallstats=1; //step thru each attempt, checking there are any attempts //for which the score can be displayed (need grade columns), //and checking if overall grades can be displayed - no attempts for