mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Prevent a php notice
This commit is contained in:
parent
4fd6831fe5
commit
b31b9907b0
@ -92,7 +92,7 @@ class htmlEditor {
|
||||
|
||||
}
|
||||
|
||||
if (is_array($CFG->editorsrc)) {
|
||||
if (isset($CFG->editorsrc) && is_array($CFG->editorsrc)) {
|
||||
$CFG->editorsrc = $configuration + $CFG->editorsrc;
|
||||
} else {
|
||||
$CFG->editorsrc = $configuration;
|
||||
|
Loading…
x
Reference in New Issue
Block a user