change sql fetch
This commit is contained in:
parent
fe5c698d7b
commit
0077cf2ac7
|
@ -2385,7 +2385,7 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
$sql="select u.username,u.email from mdexpertreview e left join users u on e.id=u.id where e.status in (0,1) and e.uuid=?";
|
||||
$sth = $this->db->prepare($sql);
|
||||
$sth->execute(array($row['uuid']));
|
||||
$experts = $sth->fetch();
|
||||
$experts = $sth->fetchAll();
|
||||
|
||||
unset($mail);
|
||||
unset($mailtp);
|
||||
|
|
Loading…
Reference in New Issue