aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-06-20 11:14:16 +0530
committerunknown <Dhruv@Dhruv-XPS.(none)>2012-07-08 02:51:26 +0530
commit615f32cd712b6c2b63021c5be38dbe3d1247ca0e (patch)
tree90300d6df4c45cd48aa58ba57f2df347cb1f0c0e /phpBB
parent1d0607cbb31865b5128a1a2b92b415386aee0788 (diff)
downloadforums-615f32cd712b6c2b63021c5be38dbe3d1247ca0e.tar
forums-615f32cd712b6c2b63021c5be38dbe3d1247ca0e.tar.gz
forums-615f32cd712b6c2b63021c5be38dbe3d1247ca0e.tar.bz2
forums-615f32cd712b6c2b63021c5be38dbe3d1247ca0e.tar.xz
forums-615f32cd712b6c2b63021c5be38dbe3d1247ca0e.zip
[ticket/10943] use keywords variable to display in search box
$keywords which contains the string as entered by the user should be used to display in search box instead of search_query. PHPBB3-10943
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 2b463aec9c..e7b47afc2a 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -599,7 +599,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
$template->assign_vars(array(
'SEARCH_TITLE' => $l_search_title,
'SEARCH_MATCHES' => $l_search_matches,
- 'SEARCH_WORDS' => $search->search_query,
+ 'SEARCH_WORDS' => $keywords,
'IGNORED_WORDS' => (sizeof($search->common_words)) ? implode(' ', $search->common_words) : '',
'PAGINATION' => generate_pagination($u_search, $total_match_count, $per_page, $start),
'PAGE_NUMBER' => on_page($total_match_count, $per_page, $start),