mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-52429-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
355570f9e7
@ -1755,6 +1755,9 @@ function scorm_format_toc_for_treeview($user, $scorm, $scoes, $usertracks, $cmid
|
||||
$result->toc .= html_writer::start_tag('ul');
|
||||
$childresult = scorm_format_toc_for_treeview($user, $scorm, $sco->children, $usertracks, $cmid,
|
||||
$toclink, $currentorg, $attempt, $play, $organizationsco, true);
|
||||
|
||||
// Is any of the children incomplete?
|
||||
$sco->incomplete = $childresult->incomplete;
|
||||
$result->toc .= $childresult->toc;
|
||||
$result->toc .= html_writer::end_tag('ul');
|
||||
$result->toc .= html_writer::end_tag('li');
|
||||
|
Loading…
x
Reference in New Issue
Block a user