From 7a2d36a25eead0a836b7c79ec675a417a2ff5ea6 Mon Sep 17 00:00:00 2001 From: Dhruv Goel Date: Thu, 28 Jun 2012 19:07:24 +0530 Subject: [PATCH] [feature/postgresql-fulltext-search] use proper variable name PHPBB3-9730 --- phpBB/search.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/search.php b/phpBB/search.php index 0187995f75..c93dbdfd34 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -597,10 +597,10 @@ if ($keywords || $author || $author_id || $search_id || $submit) $u_search .= ($return_chars != 300) ? '&ch=' . $return_chars : ''; // Check if search backend supports phrase search or not - $l_phrase_search_disabled = ''; + $phrase_search_disabled = ''; if (strpos(html_entity_decode($keywords), '"') !== false && isset($search->phrase_search)) { - $l_phrase_search_disabled = $search->phrase_search ? false : true; + $phrase_search_disabled = $search->phrase_search ? false : true; } $template->assign_vars(array( @@ -611,7 +611,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) 'PAGINATION' => generate_pagination($u_search, $total_match_count, $per_page, $start), 'PAGE_NUMBER' => on_page($total_match_count, $per_page, $start), - 'PHRASE_SEARCH_DISABLED' => $l_phrase_search_disabled, + 'PHRASE_SEARCH_DISABLED' => $phrase_search_disabled, 'TOTAL_MATCHES' => $total_match_count, 'SEARCH_IN_RESULTS' => ($search_id) ? false : true,