From 8087c74a13f3db617de701f09a44c3c454cba52a Mon Sep 17 00:00:00 2001 From: molong Date: Mon, 16 Apr 2018 21:46:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=9B=B4=E9=AB=98=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E7=89=88=E6=9C=AC=E7=9A=84=E6=83=85=E5=86=B5?= =?UTF-8?q?=E4=B8=8B=EF=BC=8C=E5=9C=A8=E8=8E=B7=E5=8F=96=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E6=97=B6group=E5=AD=97=E6=AE=B5=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/controller/Admin.php b/application/common/controller/Admin.php index 410dc473..909d18a3 100644 --- a/application/common/controller/Admin.php +++ b/application/common/controller/Admin.php @@ -152,7 +152,7 @@ class Admin extends Base { $map['pid'] = $pid; $map['hide'] = 0; $map['type'] = 'admin'; - $row = db('menu')->field('id,title,url,icon,group,pid,"" as style')->where($map)->order('sort asc')->select(); + $row = db('menu')->field("id,title,url,icon,`group`,pid,'' as style")->where($map)->order('sort asc')->select(); foreach ($row as $key => $value) { if (IS_ROOT || $this->checkRule($value['url'], 2, null)) { if ($controller == $value['url']) {