From b706082d29214c0f07a0d17c2b259bcd3df23a66 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 9 Apr 2013 01:06:12 +0000 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=8E=A5=E6=94=B6=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E6=95=B0=E6=8D=AE=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controllers/ReviewController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/admin/controllers/ReviewController.php b/application/admin/controllers/ReviewController.php index 7aed7cb4..aeb934cb 100644 --- a/application/admin/controllers/ReviewController.php +++ b/application/admin/controllers/ReviewController.php @@ -755,9 +755,9 @@ class Admin_ReviewController extends Zend_Controller_Action //update search document $search=new Search(); //create search view in xunsearch - $sql="select * from xunsearch where uuid in (select uuid from mdstatus where id in (?))"; + $sql="select * from xunsearch where uuid in (select uuid from mdstatus where id in (".$ids."))"; $sth = $this->db->prepare($sql); - $sth->execute(array($ids)); + $sth->execute(); while ($data = $sth->fetch()) { $search->update($data);