Skip to content
Browse files

MDL-28277 MDL-30009 fix for started on/last accessed on dates for use…

…rs with no attempts.
  • Loading branch information...
1 parent 769a621 commit 49ff0cf3495edae82ac371af26fcea18ea4f0493 @danmarsden danmarsden committed with ankitagarwal Oct 31, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/scorm/report/interactions/report.php
View
2 mod/scorm/report/interactions/report.php
@@ -387,6 +387,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 49ff0cf

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