Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SCORM AICC MDL-31039 update external AICC url correctly - thanks to A…

…lbert Rhemrev for report/fix
  • Loading branch information...
commit bfeca9d6b9900b4db88b1f4da12a424960ee7578 1 parent d4b3034
@danmarsden danmarsden 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.