* Fix bug 32749.
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user