Fixed Status FTP Account Bug - Shouldn't Apply to Custom Accounts
This commit is contained in:
parent
8a61cdb9bd
commit
06945b90bc
1 changed files with 4 additions and 0 deletions
|
@ -9020,6 +9020,10 @@ function editFtpUser(){
|
|||
|
||||
$sql = "select * from ".$this->conf['ftpuserstable']['tablename']." where ftpusername='$ftpusername'";
|
||||
$ftp=$this->query($sql);
|
||||
|
||||
if($ftp && is_array($ftp)){
|
||||
$ftp=$ftp[0];
|
||||
}
|
||||
|
||||
if(!$_insert){
|
||||
$inputparams = array();
|
||||
|
|
Loading…
Reference in a new issue