Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…lbert Rhemrev for report/fix
  • Loading branch information...
commit de4fe98fef197bceba2299020932d57700deade8 1 parent 8efa821
Dan Marsden danmarsden authored wdjunaidi committed

Showing 2 changed files with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  mod/scorm/lib.php
  2. +1 0  mod/scorm/mod_form.php
3  mod/scorm/lib.php
@@ -185,7 +185,8 @@ function scorm_update_instance($scorm, $mform=null) {
185 185
186 186 } else if ($scorm->scormtype === SCORM_TYPE_IMSREPOSITORY) {
187 187 $scorm->reference = $scorm->packageurl;
188   -
  188 + } else if ($scorm->scormtype === SCORM_TYPE_AICCURL) {
  189 + $scorm->reference = $scorm->packageurl;
189 190 } else {
190 191 return false;
191 192 }
1  mod/scorm/mod_form.php
@@ -397,6 +397,7 @@ function set_data($default_values) {
397 397 case SCORM_TYPE_LOCALSYNC :
398 398 case SCORM_TYPE_EXTERNAL:
399 399 case SCORM_TYPE_IMSREPOSITORY:
  400 + case SCORM_TYPE_AICCURL:
400 401 $default_values['packageurl'] = $default_values['reference'];
401 402 }
402 403 }

0 comments on commit de4fe98

Please sign in to comment.
Something went wrong with that request. Please try again.