Skip to content

Commit

Permalink
Update api/components/com_users/src/Controller/UsersController.php
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
  • Loading branch information
alikon and richard67 committed Jun 6, 2022
1 parent 4eb45ab commit f5a81e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function preprocessSaveData(array $data): array
}
}

if ((isset($data['password'])) && ($this->task !== 'add'))
if (isset($data['password']) && $this->task !== 'add')
{
unset($data['password']);
}
Expand Down

0 comments on commit f5a81e9

Please sign in to comment.