mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge pull request #2053 from prototech/ticket/12220
[ticket/12220] Fix division by zero in search page with no results. * prototech/ticket/12220: [ticket/12220] Fix division by zero in search page with no results.
This commit is contained in:
commit
4b7932e8b3
1 changed files with 0 additions and 1 deletions
|
@ -602,7 +602,6 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||||
'SEARCH_WORDS' => $keywords,
|
'SEARCH_WORDS' => $keywords,
|
||||||
'SEARCHED_QUERY' => $search->get_search_query(),
|
'SEARCHED_QUERY' => $search->get_search_query(),
|
||||||
'IGNORED_WORDS' => (sizeof($common_words)) ? implode(' ', $common_words) : '',
|
'IGNORED_WORDS' => (sizeof($common_words)) ? implode(' ', $common_words) : '',
|
||||||
'PAGE_NUMBER' => $pagination->on_page($u_search, $total_match_count, $per_page, $start),
|
|
||||||
|
|
||||||
'PHRASE_SEARCH_DISABLED' => $phrase_search_disabled,
|
'PHRASE_SEARCH_DISABLED' => $phrase_search_disabled,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue