Fix warnings in PHP 8.0 related to editor components

This commit is contained in:
Kijin Sung 2021-02-09 01:21:53 +09:00
parent c5ceafc841
commit c6f728cec6
4 changed files with 14 additions and 14 deletions

View file

@ -518,7 +518,7 @@ class editorModel extends editor
return new BaseObject(-1, 'msg_component_is_not_founded', $component);
}
if(!self::$_loaded_component_list[$component][$editor_sequence])
if(!isset(self::$_loaded_component_list[$component][$editor_sequence]))
{
// Create an object of the component and execute
$class_path = sprintf('./modules/editor/components/%s/', $component);