mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
SCORM MDL-30009 fix issue with started on/last accessed when iterating through users.
This commit is contained in:
parent
38e9a1cc79
commit
503dfba895
1 changed files with 2 additions and 0 deletions
|
@ -362,6 +362,8 @@ class scorm_basic_report extends scorm_default_report {
|
|||
$row = array();
|
||||
if (!empty($scouser->attempt)) {
|
||||
$timetracks = scorm_get_sco_runtime($scorm->id, false, $scouser->userid, $scouser->attempt);
|
||||
} else {
|
||||
$timetracks = '';
|
||||
}
|
||||
if (in_array('checkbox', $columns)) {
|
||||
if ($candelete && !empty($timetracks->start)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue