Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit 4c5b0669a05f032138bf10db4c2cc4bc952f718a 1 parent 312191a
csantossaenz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  mod/scorm/datamodels/scorm_12lib.php
View
2  mod/scorm/datamodels/scorm_12lib.php
@@ -218,6 +218,8 @@ 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++) {
Please sign in to comment.
Something went wrong with that request. Please try again.