Skip to content

Commit

Permalink
Update user.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 3, 2019
1 parent 62d6771 commit bd2c709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/user/class/user.class.php
Expand Up @@ -1520,7 +1520,7 @@ function update($user, $notrigger=0, $nosyncmember=0, $nosyncmemberpass=0, $nosy
$error++;
}
}
elseif(!empty($adh->error) || !empty($adh->errors))
elseif ($result < 0)
{
$this->error=$adh->error;
$this->errors=$adh->errors;
Expand Down

0 comments on commit bd2c709

Please sign in to comment.