Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Fixed php warning for editor new page templates dropdown if folder key is missing
givanzae790bfc4089
diff --git a/admin/template/editor/editor.tpl b/admin/template/editor/editor.tplindex 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 '<optgroup label="' . ucfirst($optgroup) . '">';}