aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-26 01:36:26 +0000
committerNils Adermann <naderman@naderman.de>2006-03-26 01:36:26 +0000
commit8a32e0de742d9d4fd453402a48889bc6edd6a7f9 (patch)
tree83da50045e715ee7c47e8ea84e528a7fc17f58a6 /phpBB/viewtopic.php
parented32b4d8dc396a656a6a0b84f9a40c5fce53278a (diff)
downloadforums-8a32e0de742d9d4fd453402a48889bc6edd6a7f9.tar
forums-8a32e0de742d9d4fd453402a48889bc6edd6a7f9.tar.gz
forums-8a32e0de742d9d4fd453402a48889bc6edd6a7f9.tar.bz2
forums-8a32e0de742d9d4fd453402a48889bc6edd6a7f9.tar.xz
forums-8a32e0de742d9d4fd453402a48889bc6edd6a7f9.zip
- correctly use DISTINCT and GROUP BY in search related SQL [Bug #1256]
- always display views and replies in search results [Bug #1223] - display error messages occuring during search index creation/deletion [Bug #1274] - correctly align the ACP link on the search results page [Bug #1160] - fixed the search forum box [Bug #1300] and added a search topic box (subBlue: can you please position this a little more visible, didn't want to mess with the CSS ;-)) - correctly check and use show_results on the search page git-svn-id: file:///svn/phpbb/trunk@5727 89ea8834-ac86-4346-8a33-228a782c2dd0
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 54d379475e..76c1907ccc 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -491,7 +491,7 @@ $template->assign_vars(array(
'S_MOD_ACTION' => "{$phpbb_root_path}mcp.$phpEx?sid=" . $user->session_id . "&amp;t=$topic_id&amp;f=$forum_id&amp;quickmod=1",
'S_DISPLAY_SEARCHBOX' => ($auth->acl_get('f_search', $forum_id)) ? true : false,
- 'S_SEARCHBOX_ACTION' => "{$phpbb_root_path}search.$phpEx$SID&amp;search_forum[]=$forum_id",
+ 'S_SEARCHBOX_ACTION' => "{$phpbb_root_path}search.$phpEx$SID&amp;t=$topic_id",
'U_TOPIC' => "{$server_path}viewtopic.$phpEx?f=$forum_id&amp;t=$topic_id",
'U_FORUM' => $server_path,