Permalink
Browse files

Merge branch 'm21_MDL-30223' of git://github.com/danmarsden/moodle in…

…to MOODLE_21_STABLE
  • Loading branch information...
2 parents 30a8334 + 71923e9 commit 156ec7701e9858b624c17a113f95a82ea75a7c5b @stronk7 stronk7 committed Nov 23, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/scorm/datamodels/aicclib.php
View
1 mod/scorm/datamodels/aicclib.php
@@ -237,6 +237,7 @@ function scorm_parse_aicc($scorm) {
//print_r($sco);
if ($ss = $DB->get_record('scorm_scoes', array('scorm'=>$scorm->id,'identifier'=>$sco->identifier))) {
$id = $ss->id;
+ $sco->id = $id;
$DB->update_record('scorm_scoes',$sco);
unset($oldscoes[$id]);
} else {

0 comments on commit 156ec77

Please sign in to comment.