Fixed Status FTP Account Bug - Shouldn't Apply to Custom Accounts

This commit is contained in:
earnolmartin 2019-09-12 22:51:59 -06:00
parent 8a61cdb9bd
commit 06945b90bc

View file

@ -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();