mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/14830] Fix FORM_INVALID error on cpf settings changing
PHPBB3-14830
This commit is contained in:
parent
cefbd39b82
commit
a41b16d06a
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ class acp_profile
|
|||
|
||||
if (!sizeof($error))
|
||||
{
|
||||
if (!check_form_key($form_key))
|
||||
if (($submit || $save) && !check_form_key($form_key))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue