Merge branch 'mdl27_MDL-46408' of https://github.com/danmarsden/moodle into MOODLE_27_STABLE
This commit is contained in:
@@ -564,7 +564,9 @@ function scorm_parse_scorm(&$scorm, $manifest) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($defaultorgid) && empty($firstinorg) && $newitem->parent == $scoes->defaultorg) {
|
||||
if (!empty($defaultorgid) && !empty($scoes->defaultorg) && empty($firstinorg) &&
|
||||
$newitem->parent == $scoes->defaultorg) {
|
||||
|
||||
$firstinorg = $sortorder;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user