aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-02-21 22:12:51 +0100
committerAndreas Fischer <bantu@phpbb.com>2014-02-21 22:12:51 +0100
commit4b7932e8b321771c1a5e108c229512f64032624b (patch)
treeb4b093adebc36cbd8f50ad58d79b08adc6b8db17 /phpBB
parentc0c19fbb293feaa8e40498c179118b66775b5061 (diff)
parent888a05999447a0a7d12e33ffdb4fc2309e19265e (diff)
downloadforums-4b7932e8b321771c1a5e108c229512f64032624b.tar
forums-4b7932e8b321771c1a5e108c229512f64032624b.tar.gz
forums-4b7932e8b321771c1a5e108c229512f64032624b.tar.bz2
forums-4b7932e8b321771c1a5e108c229512f64032624b.tar.xz
forums-4b7932e8b321771c1a5e108c229512f64032624b.zip
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.
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/search.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 4ddade90f5..2d516502ed 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -602,7 +602,6 @@ if ($keywords || $author || $author_id || $search_id || $submit)
'SEARCH_WORDS' => $keywords,
'SEARCHED_QUERY' => $search->get_search_query(),
'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,