fix sql error
This commit is contained in:
parent
ea19413899
commit
31a44ad226
|
@ -166,7 +166,7 @@ class SubmitController extends Zend_Controller_Action
|
|||
$ftp_user = "qherc".$u_id."upload";
|
||||
$sql = "SELECT * FROM pureftp WHERE userid=? AND homedir LIKE ?";
|
||||
$sth = $this->db->prepare($sql);
|
||||
$sth->execute(array($u_id,'%'.$uuid.'%'));
|
||||
$sth->execute(array($ftp_user,'%'.$uuid.'%'));
|
||||
$row = $sth->fetch();
|
||||
|
||||
if(!empty($row['passwd']))
|
||||
|
|
Loading…
Reference in New Issue