mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
Merge branch 'master_MDL-30009' of git://github.com/danmarsden/moodle
This commit is contained in:
commit
ad7592f32b
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