From 2dae979d8e5e9052a1e52db20992aedc015321e7 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 18 Dec 2009 07:14:53 +0000 Subject: [PATCH] SCORM MDL-21024 missing field in restore. merged from HEAD --- mod/scorm/restorelib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/scorm/restorelib.php b/mod/scorm/restorelib.php index ce50882a7f7..dc56f33d700 100755 --- a/mod/scorm/restorelib.php +++ b/mod/scorm/restorelib.php @@ -121,6 +121,9 @@ if ($scorm->height == 0) { $scorm->height = 500; } + if (!empty($info['MOD']['#']['OPTIONS']['0']['#'])) { + $scorm->options = backup_todb($info['MOD']['#']['OPTIONS']['0']['#']); + } } $scorm->timemodified = time();