diff --git a/Application/Admin/Controller/AdminController.class.php b/Application/Admin/Controller/AdminController.class.php index 6b4ac6cac..55629e82a 100644 --- a/Application/Admin/Controller/AdminController.class.php +++ b/Application/Admin/Controller/AdminController.class.php @@ -652,10 +652,6 @@ 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 (is_array($checkarr)&&!$checkarr) { - return; - } - //验证list $listrule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_list_check"); $listflag = $this->checkRule($listrule,array('in','1,2')); @@ -670,6 +666,11 @@ class AdminController extends Controller { }; } } + + if (is_array($checkarr)&&!$checkarr) { + return; + } + if(!$listflag){ $map["_string"] = "1=0"; }