mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge PR #1219 branch 'develop-olympus' into develop
# By Andreas Fischer # Via Andreas Fischer (1) and Oleg Pudeyev (1) * develop-olympus: [ticket/11343] Remove spare parentheses. [ticket/11343] Remove spare space. [ticket/11343] Use === when checking stored user_actkey against user input.
This commit is contained in:
commit
2df2f27b96
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class ucp_activate
|
||||||
trigger_error('ALREADY_ACTIVATED');
|
trigger_error('ALREADY_ACTIVATED');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($user_row['user_inactive_reason'] == INACTIVE_MANUAL) || $user_row['user_actkey'] != $key)
|
if ($user_row['user_inactive_reason'] == INACTIVE_MANUAL || $user_row['user_actkey'] !== $key)
|
||||||
{
|
{
|
||||||
trigger_error('WRONG_ACTIVATION');
|
trigger_error('WRONG_ACTIVATION');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue