Fixed Status FTP Account Bug - Shouldn't Apply to Custom Accounts
This commit is contained in:
parent
285081d783
commit
8a61cdb9bd
1 changed files with 3 additions and 0 deletions
|
@ -8999,6 +8999,9 @@ function editFtpUser(){
|
|||
global $ftpusername,$_insert,$status,$newpass,$newpass2;
|
||||
$this->getVariable(array('ftpusername','_insert','status','newpass','newpass2'));
|
||||
$success=True;
|
||||
|
||||
$userHasAccessToTheseChildrenUsers = $this->getParentsAndChildren($this->activeuser);
|
||||
$inClause = $this->generateMySQLInClause($userHasAccessToTheseChildrenUsers);
|
||||
|
||||
if(!$ftpusername){ # if no ftpusername given, learn it from domainname,
|
||||
$domainname=$this->chooseDomain(__FUNCTION__,$domainname);
|
||||
|
|
Loading…
Reference in a new issue