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);