mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'master_MDL-46408' of https://github.com/danmarsden/moodle
This commit is contained in:
commit
ad80b121ad
@ -589,7 +589,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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user