Skip to content

Commit

Permalink
MDL-17115 fixed new DML syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Dec 9, 2008
1 parent 5f501fe commit c144ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scorm/datamodels/scormlib.php
Expand Up @@ -612,7 +612,7 @@ function scorm_parse_scorm($scorm, $manifest) {
if (empty($scoes->version)) {
$scoes->version = 'SCORM_1.2';
}
set_field('scorm','version',$scoes->version,'id',$scormid);
$DB->set_field('scorm','version',$scoes->version, array('id'=>$scormid));
$scorm->version = $scoes->version;
}

Expand Down

0 comments on commit c144ca1

Please sign in to comment.