mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
quiz view NOBUG Table columns did not always line up.
This commit is contained in:
parent
f23f98dd63
commit
98a31ac119
1 changed files with 2 additions and 2 deletions
|
@ -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[] = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue