aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index ddd113df7d..214ceeefa6 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -1010,8 +1010,9 @@ $template->assign_vars(array(
'S_FORUM_OPTIONS' => $s_forums,
'S_SELECT_SORT_DIR' => $s_sort_dir,
'S_SELECT_SORT_KEY' => $s_sort_key,
- 'S_SELECT_SORT_DAYS' => $s_limit_days)
-);
+ 'S_SELECT_SORT_DAYS' => $s_limit_days,
+ 'S_IN_SEARCH' => true,
+));
// Handle large objects differently for Oracle and MSSQL
switch ($db->sql_layer)