diff --git a/bureau/class/m_ftp.php b/bureau/class/m_ftp.php index 8ad7d359..fd4a0f2d 100644 --- a/bureau/class/m_ftp.php +++ b/bureau/class/m_ftp.php @@ -136,12 +136,13 @@ class m_ftp { global $db,$err,$cuid, $bro; $err->log("ftp","get_list"); $r=array(); - $db->query("SELECT id, name, homedir, enabled FROM ftpusers WHERE uid='$cuid' ORDER BY name;"); + $db->query("SELECT id, name, password, homedir, enabled FROM ftpusers WHERE uid='$cuid' ORDER BY name;"); if ($db->num_rows()) { while ($db->next_record()) { $r[]=array( "id"=>$db->f("id"), "login"=>$db->f("name"), + "pass"=>$db->f("password"), "enabled"=>$db->f("enabled"), //"dir"=>$match[1] "dir"=>$db->f("homedir")