Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…g through users.
  • Loading branch information...
commit 503dfba89589a7b361732f49bf125093e82a884e 1 parent 38e9a1c
Dan Marsden authored October 31, 2011

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  mod/scorm/report/basic/report.php
2  mod/scorm/report/basic/report.php
@@ -362,6 +362,8 @@ function display($scorm, $cm, $course, $download) {
362 362
                     $row = array();
363 363
                     if (!empty($scouser->attempt)) {
364 364
                         $timetracks = scorm_get_sco_runtime($scorm->id, false, $scouser->userid, $scouser->attempt);
  365
+                    } else {
  366
+                        $timetracks = '';
365 367
                     }
366 368
                     if (in_array('checkbox', $columns)) {
367 369
                         if ($candelete && !empty($timetracks->start)) {

0 notes on commit 503dfba

Please sign in to comment.
Something went wrong with that request. Please try again.