diff --git a/Application/Admin/Controller/PartnerController.class.php b/Application/Admin/Controller/PartnerController.class.php index 651c8c01a..99b0b5fc3 100644 --- a/Application/Admin/Controller/PartnerController.class.php +++ b/Application/Admin/Controller/PartnerController.class.php @@ -173,7 +173,7 @@ class PartnerController extends ThinkController //删除 public function del() { - if ($_POST['ids']) { + if (!empty($_POST['ids'])) { if (!is_array($_POST['ids'])) { $this->error('参数异常'); }