* code for task #83439.

This commit is contained in:
wangyidong
2023-01-31 16:15:00 +08:00
parent 15d3a2a5ac
commit 7af8d535f1
7 changed files with 187 additions and 51 deletions
+1 -1
View File
@@ -915,8 +915,8 @@ class commonModel extends model
{
global $lang, $config, $app;
if($tab == 'admin') $app->control->loadModel('admin')->setMenu();
if(!$tab) return;
if($tab == 'admin' and method_exists($app->control, 'loadModel')) $app->control->loadModel('admin')->setMenu();
$icon = zget($lang->navIcons, $tab, '');
if(!in_array($tab, array('program', 'product', 'project')))