Permalink
Browse files

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

…to MOODLE_22_STABLE
  • Loading branch information...
2 parents c904d24 + bfeca9d commit 6badc27a661aa0f5ca8ff9f8eddd3ca12ca25319 @stronk7 stronk7 committed Jan 31, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −1 mod/scorm/lib.php
  2. +1 −0 mod/scorm/mod_form.php
View
@@ -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 @@ 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'];
}
}

0 comments on commit 6badc27

Please sign in to comment.