]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9331 - Problem with the tables on the quiz index page. Merged from MOODLE_18_STABLE.
authortjhunt <tjhunt>
Wed, 26 Sep 2007 20:45:23 +0000 (20:45 +0000)
committertjhunt <tjhunt>
Wed, 26 Sep 2007 20:45:23 +0000 (20:45 +0000)
mod/quiz/index.php

index 99c87adcc38949de02f30f93488e18fa40ec400e..e3bed8b6d50cea4fd136478ccd18e8433070ad3b 100644 (file)
                 $a->studentstring  = $course->students;
                 $data[] = "<a href=\"report.php?mode=overview&amp;q=$quiz->id\">" .
                         get_string('numattempts', 'quiz', $a) . '</a>';
+            } else {
+                $data[] = '';
             }
         } else if ($showing = 'scores') {