diff --git a/trunk/module/common/control.php b/trunk/module/common/control.php index 32d05817f1..b65f2b75c9 100644 --- a/trunk/module/common/control.php +++ b/trunk/module/common/control.php @@ -93,7 +93,7 @@ EOT; /* 非管理员,则检查权限列表中是否存在。*/ $rights = $app->user->rights; - if(isset($rights[$module][$method])) return true; + if(isset($rights[strtolower($module)][strtolower($method)])) return true; return false; }