From 5e7172809748173f533e7dafbbb695042d028778 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 28 Apr 2020 19:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BAbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/AdminController.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Application/Admin/Controller/AdminController.class.php b/Application/Admin/Controller/AdminController.class.php index 098245e36..bbb56b60f 100644 --- a/Application/Admin/Controller/AdminController.class.php +++ b/Application/Admin/Controller/AdminController.class.php @@ -651,6 +651,11 @@ class AdminController extends Controller { $countRule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_count_check"); $this->assign($countfield,$this->checkRule($countRule,array('in','1,2'))); + + if (!$checkarr) { + return; + } + //验证list $listrule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_list_check"); $listflag = $this->checkRule($listrule,array('in','1,2'));