mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
Fixed problem for the Moodle 1.7 scorm packages which didn't show the structure when you updated your version to 1.8. Now is possible to access to that structure and to each sco as well.
This commit is contained in:
parent
9d759a0e85
commit
eb0e9d9da7
@ -218,6 +218,9 @@ function scorm_get_toc($user,$scorm,$liststyle,$currentorg='',$scoid='',$mode='n
|
||||
$isvisible = true;
|
||||
}
|
||||
}
|
||||
else{
|
||||
$isvisible = true;
|
||||
}
|
||||
if ($parents[$level]!=$sco->parent) {
|
||||
if ($newlevel = array_search($sco->parent,$parents)) {
|
||||
for ($i=0; $i<($level-$newlevel); $i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user