1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 09:30:34 +01:00

[ticket/15540] Send hash

PHPBB3-15540
This commit is contained in:
rubencm 2020-08-19 05:08:39 +00:00
parent f2d5f31f99
commit a56bfdee8a

View File

@ -300,7 +300,7 @@ class acp_search
case 'create':
// pass a reference to acp_search so the $search object can make use of save_state() and attributes
if ($error = $this->search->create_index($this, append_sid("{$phpbb_admin_path}index.$phpEx", "i=$id&mode=$mode&action=create", false)))
if ($error = $this->search->create_index($this, append_sid("{$phpbb_admin_path}index.$phpEx", "i=$id&mode=$mode&action=create&hash=" . generate_link_hash('acp_search'), false)))
{
$this->state = array('');
$this->save_state();