quiz view NOBUG Table columns did not always line up.

This commit is contained in:
Tim Hunt 2010-08-04 19:02:45 +00:00
parent f23f98dd63
commit 98a31ac119

View file

@ -245,8 +245,8 @@
} }
$row[] = $datecompleted; $row[] = $datecompleted;
if ($markcolumn && $attempt->timefinish > 0) { if ($markcolumn) {
if ($attemptoptions->scores) { if ($attemptoptions->scores && $attempt->timefinish > 0) {
$row[] = quiz_format_grade($quiz, $attempt->sumgrades); $row[] = quiz_format_grade($quiz, $attempt->sumgrades);
} else { } else {
$row[] = ''; $row[] = '';