confirm $path variable in assoc mode
This commit is contained in:
parent
a2745777c2
commit
8eb4c55d9c
|
@ -504,7 +504,7 @@ class HeiheController extends DataController
|
||||||
$sql = "SELECT * FROM pureftp WHERE userid=? AND homedir LIKE ?";
|
$sql = "SELECT * FROM pureftp WHERE userid=? AND homedir LIKE ?";
|
||||||
$sth = $this->db->prepare($sql);
|
$sth = $this->db->prepare($sql);
|
||||||
$sth->execute(array($ftp_user,'%'.$uuid.'%'));
|
$sth->execute(array($ftp_user,'%'.$uuid.'%'));
|
||||||
$row1 = $sth->fetch();
|
$row1 = $sth->fetch(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
if(!empty($row1['passwd']))
|
if(!empty($row1['passwd']))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue