diff --git a/admin/template/editor/editor.tpl b/admin/template/editor/editor.tpl index 227b4a7..cd34fa0 100755 --- a/admin/template/editor/editor.tpl +++ b/admin/template/editor/editor.tpl @@ -87,7 +87,7 @@ if (isset($this->$name)) { $options = $this->$name; foreach($options as $key => $option){ - if ($optgroup != $option['folder']) { + if (isset($option['folder']) && ($optgroup != $option['folder'])) { $optgroup = $option['folder']; echo ''; }