Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'm24_MDL-36853' of git://github.com/danmarsden/moodle in…

…to MOODLE_24_STABLE
  • Loading branch information...
commit c57ed7626534c24ae4708bfa01c2799a0825045a 2 parents 1bb2d65 + 840193d
@danpoltawski danpoltawski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/scorm/locallib.php
View
2  mod/scorm/locallib.php
@@ -1772,7 +1772,7 @@ function scorm_get_toc($user, $scorm, $cmid, $toclink=TOCJSLINK, $currentorg='',
}
if (empty($scoid)) {
- $result->sco = $scoes['scoes'][0]->children;
+ $result->sco = $scoes['scoes'][0]->children[0];
} else {
$result->sco = scorm_get_sco($scoid);
}

0 comments on commit c57ed76

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