From 365b8b1e56d497405b8b64ddded05bbf1afbb71c Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 7 Jul 2015 14:37:18 +0800 Subject: [PATCH] * fix bug #643. --- module/common/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/control.php b/module/common/control.php index eb3d915e8e..11566ac9fc 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -112,7 +112,7 @@ class common extends control if(empty($acls)) return true; $menu = isset($lang->menugroup->$module) ? $lang->menugroup->$module : $module; $menu = strtolower($menu); - if(!isset($lang->$menu->menu)) return true; + if($menu != 'qa' and !isset($lang->$menu->menu)) return true; if($menu == 'my' or $menu == 'index' or $module == 'tree') return true; if($module == 'company' and $method == 'dynamic') return true; if($module == 'action' and $method == 'editcomment') return true;