From 6d0d9bd80e2cf13a7a880fe280f54a5acf017393 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 26 Apr 2016 17:07:39 +0800 Subject: [PATCH] * fix bug for feature bar custom menu. --- module/custom/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/custom/model.php b/module/custom/model.php index bca0fcc6be..4fadb8cb8d 100644 --- a/module/custom/model.php +++ b/module/custom/model.php @@ -133,7 +133,7 @@ class customModel extends model public static function buildMenuConfig($allMenu, $menuConfig) { global $app, $lang, $config; - $isSetMenuConfig = isset($menuConfig); + $isSetMenuConfig = !empty($menuConfig); $menu = array(); $order = 1; $menuConfigMap = array();