mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-14391 - Timestart shown twice in quiz overview report, instead of timefinish
This commit is contained in:
parent
832123e166
commit
c711a7aeab
@ -474,9 +474,9 @@ class quiz_report extends quiz_default_report {
|
||||
$timefinish = userdate($attempt->timefinish, $strtimeformat);
|
||||
$duration = format_time($attempt->duration);
|
||||
if (!$download) {
|
||||
$row[] = '<a href="review.php?q='.$quiz->id.'&attempt='.$attempt->attempt.'">'.$startdate.'</a>';
|
||||
} else {
|
||||
$row[] = '<a href="review.php?q='.$quiz->id.'&attempt='.$attempt->attempt.'">'.$timefinish.'</a>';
|
||||
} else {
|
||||
$row[] = $timefinish;
|
||||
}
|
||||
$row[] = $duration;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user