aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-06-18 23:21:45 +0200
committerNils Adermann <naderman@naderman.de>2011-06-18 23:22:25 +0200
commit6458a1a16ac3d9935a4933b0de7b6e464b33fce3 (patch)
tree867c3e16f9275cb74b404bdd1537f9a924437110 /phpBB/viewtopic.php
parent2bae5298e01c037fc552da9b5f160821a627a417 (diff)
downloadforums-6458a1a16ac3d9935a4933b0de7b6e464b33fce3.tar
forums-6458a1a16ac3d9935a4933b0de7b6e464b33fce3.tar.gz
forums-6458a1a16ac3d9935a4933b0de7b6e464b33fce3.tar.bz2
forums-6458a1a16ac3d9935a4933b0de7b6e464b33fce3.tar.xz
forums-6458a1a16ac3d9935a4933b0de7b6e464b33fce3.zip
[ticket/10232] Renamed S_SEARCH_HIDDEN_FIELDS to S_SEARCH_LOCAL_HIDDEN_FIELDS
Avoids the global hidden fields from functions.php overwriting local searches. PHPBB3-10232
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index e4c02a88fb..08e82591de 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -646,7 +646,7 @@ $template->assign_vars(array(
'S_VIEWTOPIC' => true,
'S_DISPLAY_SEARCHBOX' => ($auth->acl_get('u_search') && $auth->acl_get('f_search', $forum_id) && $config['load_search']) ? true : false,
'S_SEARCHBOX_ACTION' => append_sid("{$phpbb_root_path}search.$phpEx"),
- 'S_SEARCH_HIDDEN_FIELDS' => build_hidden_fields($s_search_hidden_fields),
+ 'S_SEARCH_LOCAL_HIDDEN_FIELDS' => build_hidden_fields($s_search_hidden_fields),
'S_DISPLAY_POST_INFO' => ($topic_data['forum_type'] == FORUM_POST && ($auth->acl_get('f_post', $forum_id) || $user->data['user_id'] == ANONYMOUS)) ? true : false,
'S_DISPLAY_REPLY_INFO' => ($topic_data['forum_type'] == FORUM_POST && ($auth->acl_get('f_reply', $forum_id) || $user->data['user_id'] == ANONYMOUS)) ? true : false,