* fix bug.

This commit is contained in:
wyd621
2013-10-24 07:53:40 +00:00
parent da1ea662b7
commit e5f79e31f1
5 changed files with 15 additions and 10 deletions
+5 -2
View File
@@ -493,8 +493,11 @@ class commonModel extends model
echo html::a(helper::createLink('my', 'index'), $lang->zentaoPMS) . $lang->arrow;
if($moduleName != 'index')
{
list($menuLabel, $module, $method) = explode('|', $lang->menu->$mainMenu);
echo html::a(helper::createLink($module, $method), $menuLabel);
if(isset($lang->menu->$mainMenu))
{
list($menuLabel, $module, $method) = explode('|', $lang->menu->$mainMenu);
echo html::a(helper::createLink($module, $method), $menuLabel);
}
}
else
{