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;
if ($markcolumn && $attempt->timefinish > 0) {
if ($attemptoptions->scores) {
if ($markcolumn) {
if ($attemptoptions->scores && $attempt->timefinish > 0) {
$row[] = quiz_format_grade($quiz, $attempt->sumgrades);
} else {
$row[] = '';