mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/postgresql-fulltext-search] use proper variable name
PHPBB3-9730
This commit is contained in:
parent
d37c9cab6b
commit
7a2d36a25e
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue