Merge branch 'm19_MDL-26216_windowoptions' of github.com:danmarsden/moodle into MOODLE_19_STABLE
This commit is contained in:
+3
-1
@@ -100,7 +100,9 @@ function scorm_update_instance($scorm) {
|
||||
$scorm->timemodified = time();
|
||||
$scorm->id = $scorm->instance;
|
||||
|
||||
$scorm = scorm_option2text($scorm);
|
||||
if (empty($scorm->options)) {
|
||||
$scorm = scorm_option2text($scorm);
|
||||
}
|
||||
$scorm->width = str_replace('%','',$scorm->width);
|
||||
$scorm->height = str_replace('%','',$scorm->height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user