SCORM MDL-21024 missing field in restore.

This commit is contained in:
Dan Marsden 2009-12-18 07:13:53 +00:00
parent 02e7a15db9
commit 544bd6cd3b

View file

@ -120,6 +120,9 @@
if ($scorm->height == 0) { if ($scorm->height == 0) {
$scorm->height = 500; $scorm->height = 500;
} }
if (!empty($info['MOD']['#']['OPTIONS']['0']['#'])) {
$scorm->options = backup_todb($info['MOD']['#']['OPTIONS']['0']['#']);
}
} }
$scorm->timemodified = time(); $scorm->timemodified = time();