Permalink
Browse files

SCORM MDL-21024 missing field in restore. merged from HEAD

  • Loading branch information...
1 parent 98cdb41 commit 2dae979d8e5e9052a1e52db20992aedc015321e7 @danmarsden danmarsden committed Dec 18, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/scorm/restorelib.php
View
@@ -121,6 +121,9 @@ function scorm_restore_mods($mod,$restore) {
if ($scorm->height == 0) {
$scorm->height = 500;
}
+ if (!empty($info['MOD']['#']['OPTIONS']['0']['#'])) {
+ $scorm->options = backup_todb($info['MOD']['#']['OPTIONS']['0']['#']);
+ }
}
$scorm->timemodified = time();

0 comments on commit 2dae979

Please sign in to comment.