Prevent a php notice

This commit is contained in:
scyrma 2008-07-04 02:17:18 +00:00
parent 4fd6831fe5
commit b31b9907b0

View File

@ -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;