* Fix bug 32749.

This commit is contained in:
tianshujie
2023-03-10 10:23:23 +08:00
parent ef62dca574
commit a0a895be03
+5 -1
View File
@@ -343,7 +343,11 @@ 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 !empty($this->config->global->editor)) $subMenu['link'] = $this->lang->editor->common . '|editor|index|';
if($menuKey == 'dev' and $subMenuKey == 'editor')
{
if(!empty($this->config->global->editor)) $subMenu['link'] = $this->lang->editor->common . '|editor|index|';
if(empty($this->config->global->editor) and !$this->app->user->admin) continue;
}
$link = array();
if(isset($menu['tabMenu'][$subMenuKey]))