aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2016-10-20 01:31:15 +0700
committerrxu <rxu@mail.ru>2016-10-21 01:23:45 +0700
commit8afa9fdf28cec82b8d68ad40b90bc5cc2d214f78 (patch)
treeeb0726db6c51d48f2db88d98d881fa750bdf3036 /phpBB
parent244ff0f969f197c7e816604185ede8ea6f892d9b (diff)
downloadforums-8afa9fdf28cec82b8d68ad40b90bc5cc2d214f78.tar
forums-8afa9fdf28cec82b8d68ad40b90bc5cc2d214f78.tar.gz
forums-8afa9fdf28cec82b8d68ad40b90bc5cc2d214f78.tar.bz2
forums-8afa9fdf28cec82b8d68ad40b90bc5cc2d214f78.tar.xz
forums-8afa9fdf28cec82b8d68ad40b90bc5cc2d214f78.zip
[ticket/14830] Fix FORM_INVALID error during AСP search index deletion
PHPBB3-14830
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_search.php b/phpBB/includes/acp/acp_search.php
index 3a77141d98..cc1e5df084 100644
--- a/phpBB/includes/acp/acp_search.php
+++ b/phpBB/includes/acp/acp_search.php
@@ -305,7 +305,7 @@ class acp_search
if (method_exists($this->search, 'delete_index'))
{
// pass a reference to myself so the $search object can make use of save_state() and attributes
- if ($error = $this->search->delete_index($this, append_sid("{$phpbb_admin_path}index.$phpEx", "i=$id&mode=$mode&action=delete", false)))
+ if ($error = $this->search->delete_index($this, append_sid("{$phpbb_admin_path}index.$phpEx", "i=$id&mode=$mode&action=delete&hash=" . generate_link_hash('acp_search'), false)))
{
$this->state = array('');
$this->save_state();