From 20c81658889c683b6a93e0f67e419383f343ad6c Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Mon, 28 Oct 2019 15:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=90=8E=E5=8F=B0->=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E7=AE=A1=E7=90=86->=E5=90=88=E4=BD=9C=E6=96=B9?= =?UTF-8?q?=E7=AE=A1=E7=90=86->=E6=89=B9=E9=87=8F=E5=88=A0=E9=99=A4bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/PartnerController.class.php | 4 ++++ 1 file changed, 4 insertions(+) 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));