MDL-14391 - Timestart shown twice in quiz overview report, instead of timefinish
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user