Skip to content

Commit

Permalink
quiz view NOBUG Table columns did not always line up.
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Aug 4, 2010
1 parent f23f98d commit 98a31ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/quiz/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = '';
Expand Down

0 comments on commit 98a31ac

Please sign in to comment.