From b31b9907b03bf4e8ee9553b01230096011ff9249 Mon Sep 17 00:00:00 2001 From: scyrma Date: Fri, 4 Jul 2008 02:17:18 +0000 Subject: [PATCH] Prevent a php notice --- lib/editor/htmlEditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/editor/htmlEditor.class.php b/lib/editor/htmlEditor.class.php index ac1cb26dd7..1a3a2de8cc 100644 --- a/lib/editor/htmlEditor.class.php +++ b/lib/editor/htmlEditor.class.php @@ -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; -- 2.39.5