aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/search.php6
1 files 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,