diff --git a/mod/scorm/lib.php b/mod/scorm/lib.php index 77fb34c7445..091f6695e2e 100644 --- a/mod/scorm/lib.php +++ b/mod/scorm/lib.php @@ -181,7 +181,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; } diff --git a/mod/scorm/mod_form.php b/mod/scorm/mod_form.php index 57c187ae8f6..9b6af66212b 100644 --- a/mod/scorm/mod_form.php +++ b/mod/scorm/mod_form.php @@ -369,6 +369,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']; } }