From 844fe75187d71a94925822d6ed28629941221509 Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 5 May 2018 18:54:54 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E8=8F=9C=E5=8D=95=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Menu.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/wechat/controller/Menu.php b/application/wechat/controller/Menu.php index b8d13adaf..d8b719f7b 100644 --- a/application/wechat/controller/Menu.php +++ b/application/wechat/controller/Menu.php @@ -150,8 +150,7 @@ class Menu extends BasicAdmin } else { $row['url'] = url($row['content'], '', true, true); } - } elseif - ($row['type'] === 'event') { + } elseif ($row['type'] === 'event') { if (isset($this->menuType[$row['content']])) { list($row['type'], $row['key']) = [$row['content'], "wechat_menu#id#{$row['id']}"]; }