mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
SCORM MDL-21024 missing field in restore.
This commit is contained in:
parent
02e7a15db9
commit
544bd6cd3b
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue