SCORM MDL-30009 fix issue with started on/last accessed when iterating through users.

This commit is contained in:
Dan Marsden 2011-10-31 11:04:20 +13:00
parent 38e9a1cc79
commit 503dfba895

View file

@ -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)) {