解决接收多个数据的错误
This commit is contained in:
parent
93e4f1859b
commit
b706082d29
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue