* Added the determination that the editor configuration item does not

exist.
This commit is contained in:
tianshujie
2023-03-01 10:25:17 +08:00
parent 9e4fa093d8
commit b0b5babbd4
+1 -1
View File
@@ -338,7 +338,7 @@ class adminModel extends model
$this->loadModel('mail');
if(!$this->config->mail->turnon and !$this->session->mailConfig) $subMenu['link'] = $this->lang->mail->common . '|mail|detect|';
}
if($menuKey == 'dev' and $subMenuKey == 'editor' and $this->config->global->editor) $subMenu['link'] = $this->lang->editor->common . '|editor|index|';
if($menuKey == 'dev' and $subMenuKey == 'editor' and !empty($this->config->global->editor)) $subMenu['link'] = $this->lang->editor->common . '|editor|index|';
$link = array();
if(isset($menu['tabMenu'][$subMenuKey]))