* Fix code.

This commit is contained in:
Yagami
2021-03-19 10:04:45 +08:00
parent 57932ffec3
commit 08c42cf246
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -698,7 +698,7 @@ class commonModel extends model
if($currentModule == 'product' and $currentMethod == 'browse') $active = '';
if($currentModule == 'story') $active = '';
$misc = $openApp != $lang->navGroup->$module ? "data-app='$openApp'" : '';
$misc = isset($lang->navGroup->$module) and $openApp != $lang->navGroup->$module ? "data-app='$openApp'" : '';
$menuItemHtml = "<li class='$class $active' data-id='$menuItem->name'>" . html::a($link, $label, $target, $misc) . $subMenu . "</li>\n";
echo $menuItemHtml;