]> git.mjollnir.org Git - moodle.git/commitdiff
Correcting code to remove warning originating from earlier commit
authormjollnir_ <mjollnir_>
Wed, 19 Apr 2006 02:31:32 +0000 (02:31 +0000)
committermjollnir_ <mjollnir_>
Wed, 19 Apr 2006 02:31:32 +0000 (02:31 +0000)
Peter Bulmer peterbulmer@catalyst.net.nz

mod/quiz/view.php

index 868077e17ee34185c61d7eb2c673801d4872ddb6..74257d0859191ab2714c6152232101d3589f4751 100644 (file)
     $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