From 544bd6cd3ba85e79fd235355a3630e7773a801a3 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 18 Dec 2009 07:13:53 +0000 Subject: [PATCH] SCORM MDL-21024 missing field in restore. --- mod/scorm/restorelib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/scorm/restorelib.php b/mod/scorm/restorelib.php index 73cfd325ff..ad8af63aaa 100755 --- a/mod/scorm/restorelib.php +++ b/mod/scorm/restorelib.php @@ -120,6 +120,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(); -- 2.39.5