diff --git a/Application/Admin/Controller/PartnerController.class.php b/Application/Admin/Controller/PartnerController.class.php index 2e45410a9..651c8c01a 100644 --- a/Application/Admin/Controller/PartnerController.class.php +++ b/Application/Admin/Controller/PartnerController.class.php @@ -174,6 +174,10 @@ class PartnerController extends ThinkController public function del() { if ($_POST['ids']) { + if (!is_array($_POST['ids'])) { + $this->error('参数异常'); + } + $id = implode(',', $_POST['ids']); } else { $id = intval(I('get.id', 0));