Skip to content

Commit

Permalink
Merge branch 'master_MDL-31039' of git://github.com/danmarsden/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jan 31, 2012
2 parents 8aac56c + 047b4e8 commit 94a0c97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/scorm/lib.php
Expand Up @@ -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;
}
Expand Down
1 change: 1 addition & 0 deletions mod/scorm/mod_form.php
Expand Up @@ -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'];
}
}
Expand Down

0 comments on commit 94a0c97

Please sign in to comment.