mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/14830] Fix link hash checking case
PHPBB3-14830
This commit is contained in:
parent
832a87b924
commit
8e54c9ef8b
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class acp_search
|
|||
}
|
||||
$submit = $request->is_set_post('submit', false);
|
||||
|
||||
if (!check_link_hash($request->variable('hash', ''), 'acp_search'))
|
||||
if (!check_link_hash($request->variable('hash', ''), 'acp_search') && in_array($action, array('create', 'delete')))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue