Permalink
Browse files

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

…to MOODLE_24_STABLE
  • Loading branch information...
2 parents 1bb2d65 + 840193d commit c57ed7626534c24ae4708bfa01c2799a0825045a @danpoltawski danpoltawski committed Jan 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/locallib.php
View
@@ -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.