mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge remote-tracking branch 'bantu/ticket/10421' into develop-olympus
* bantu/ticket/10421: [ticket/10421] Correct parameter order for phpbb_check_hash() in acp_users.php
This commit is contained in:
commit
020106eeb9
1 changed files with 1 additions and 1 deletions
|
@ -818,7 +818,7 @@ class acp_users
|
||||||
|
|
||||||
// Which updates do we need to do?
|
// Which updates do we need to do?
|
||||||
$update_username = ($user_row['username'] != $data['username']) ? $data['username'] : false;
|
$update_username = ($user_row['username'] != $data['username']) ? $data['username'] : false;
|
||||||
$update_password = ($data['new_password'] && !phpbb_check_hash($user_row['user_password'], $data['new_password'])) ? true : false;
|
$update_password = ($data['new_password'] && !phpbb_check_hash($data['new_password'], $user_row['user_password'])) ? true : false;
|
||||||
$update_email = ($data['email'] != $user_row['user_email']) ? $data['email'] : false;
|
$update_email = ($data['email'] != $user_row['user_email']) ? $data['email'] : false;
|
||||||
|
|
||||||
if (!sizeof($error))
|
if (!sizeof($error))
|
||||||
|
|
Loading…
Add table
Reference in a new issue