Permalink
Browse files

SCORM MDL-30009 fix issue with started on/last accessed when iteratin…

…g through users.
  • Loading branch information...
1 parent 38e9a1c commit 503dfba89589a7b361732f49bf125093e82a884e @danmarsden danmarsden committed Oct 30, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/scorm/report/basic/report.php
View
2 mod/scorm/report/basic/report.php
@@ -362,6 +362,8 @@ function display($scorm, $cm, $course, $download) {
$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)) {

0 comments on commit 503dfba

Please sign in to comment.