From 301a5a7f5ad6e33ae9fcd10835332b5cdec7bd94 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 28 Apr 2020 19:30:08 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/AdminController.class.php b/Application/Admin/Controller/AdminController.class.php index bbb56b60f..6b4ac6cac 100644 --- a/Application/Admin/Controller/AdminController.class.php +++ b/Application/Admin/Controller/AdminController.class.php @@ -652,7 +652,7 @@ 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) { + if (is_array($checkarr)&&!$checkarr) { return; }