mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
Merge branch 'master_MDL-31039' of git://github.com/danmarsden/moodle
This commit is contained in:
commit
94a0c97464
@ -185,7 +185,8 @@ function scorm_update_instance($scorm, $mform=null) {
|
||||
|
||||
} else if ($scorm->scormtype === SCORM_TYPE_IMSREPOSITORY) {
|
||||
$scorm->reference = $scorm->packageurl;
|
||||
|
||||
} else if ($scorm->scormtype === SCORM_TYPE_AICCURL) {
|
||||
$scorm->reference = $scorm->packageurl;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
@ -397,6 +397,7 @@ class mod_scorm_mod_form extends moodleform_mod {
|
||||
case SCORM_TYPE_LOCALSYNC :
|
||||
case SCORM_TYPE_EXTERNAL:
|
||||
case SCORM_TYPE_IMSREPOSITORY:
|
||||
case SCORM_TYPE_AICCURL:
|
||||
$default_values['packageurl'] = $default_values['reference'];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user