diff options
author | Dhruv Goel <dhruv.goel92@gmail.com> | 2012-06-20 11:14:16 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2012-08-11 02:21:14 +0530 |
commit | 83a4d9abb58d22d9533e257dfaff83bac0d2a304 (patch) | |
tree | 5394b262c090e7e049be1aeaea9798618a79fcc7 /phpBB/search.php | |
parent | cb007acc7671b6594d1f54c5279e33bacce66095 (diff) | |
download | forums-83a4d9abb58d22d9533e257dfaff83bac0d2a304.tar forums-83a4d9abb58d22d9533e257dfaff83bac0d2a304.tar.gz forums-83a4d9abb58d22d9533e257dfaff83bac0d2a304.tar.bz2 forums-83a4d9abb58d22d9533e257dfaff83bac0d2a304.tar.xz forums-83a4d9abb58d22d9533e257dfaff83bac0d2a304.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/search.php')
-rw-r--r-- | phpBB/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 8cb2020630..7f3bd98289 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -603,7 +603,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), |