Correcting code to remove warning originating from earlier commit

Peter Bulmer [email protected]
This commit is contained in:
mjollnir_
2006-04-19 02:31:32 +00:00
parent 930413b133
commit fbc525bc0b
+2 -2
View File
@@ -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