Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'm22_MDL-31039' of git://github.com/danmarsden/moodle in…

…to MOODLE_22_STABLE
  • Loading branch information...
commit 6badc27a661aa0f5ca8ff9f8eddd3ca12ca25319 2 parents c904d24 + bfeca9d
@stronk7 stronk7 authored
Showing with 3 additions and 1 deletion.
  1. +2 −1  mod/scorm/lib.php
  2. +1 −0  mod/scorm/mod_form.php
View
3  mod/scorm/lib.php
@@ -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;
}
View
1  mod/scorm/mod_form.php
@@ -397,6 +397,7 @@ function set_data($default_values) {
case SCORM_TYPE_LOCALSYNC :
case SCORM_TYPE_EXTERNAL:
case SCORM_TYPE_IMSREPOSITORY:
+ case SCORM_TYPE_AICCURL:
$default_values['packageurl'] = $default_values['reference'];
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.