mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[feature/postgresql-fulltext-search] use proper variable name
PHPBB3-9730
This commit is contained in:
@@ -597,10 +597,10 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
|||||||
$u_search .= ($return_chars != 300) ? '&ch=' . $return_chars : '';
|
$u_search .= ($return_chars != 300) ? '&ch=' . $return_chars : '';
|
||||||
|
|
||||||
// Check if search backend supports phrase search or not
|
// 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))
|
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(
|
$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),
|
'PAGINATION' => generate_pagination($u_search, $total_match_count, $per_page, $start),
|
||||||
'PAGE_NUMBER' => on_page($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,
|
'TOTAL_MATCHES' => $total_match_count,
|
||||||
'SEARCH_IN_RESULTS' => ($search_id) ? false : true,
|
'SEARCH_IN_RESULTS' => ($search_id) ? false : true,
|
||||||
|
Reference in New Issue
Block a user