phpbb/phpbb — pull request #2053 by prototech (2014-02-21 20:37:41+00:00)
Title: [ticket/12220] Fix division by zero in search page with no results.

The page url parameter no longer exists in the pagination.on_page() method, therefore the page url passed is being divided by 0 - the total number of items. Since PAGE_NUMBER is assigned in pagination.generate_template_pagination(), this separate assignment is no longer needed.

http://tracker.phpbb.com/browse/PHPBB3-12220