From 615f32cd712b6c2b63021c5be38dbe3d1247ca0e Mon Sep 17 00:00:00 2001 From: Dhruv Goel Date: Wed, 20 Jun 2012 11:14:16 +0530 Subject: [PATCH] [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 --- phpBB/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),