mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-54575 scorm: fix typo in data_preprocessing function
thanks to Mike Finch for the patch/report.
This commit is contained in:
parent
577bd70d38
commit
3dc868478b
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ class mod_scorm_mod_form extends moodleform_mod {
|
||||||
&& ($defaultvalues['width'] <= 100)) {
|
&& ($defaultvalues['width'] <= 100)) {
|
||||||
$defaultvalues['width'] .= '%';
|
$defaultvalues['width'] .= '%';
|
||||||
}
|
}
|
||||||
if (isset($defaultvalues['width']) && (strpos($defaultvalues['height'], '%') === false)
|
if (isset($defaultvalues['height']) && (strpos($defaultvalues['height'], '%') === false)
|
||||||
&& ($defaultvalues['height'] <= 100)) {
|
&& ($defaultvalues['height'] <= 100)) {
|
||||||
$defaultvalues['height'] .= '%';
|
$defaultvalues['height'] .= '%';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue