diff options
author | Cesar G <prototech91@gmail.com> | 2014-02-21 12:31:52 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-02-21 12:36:26 -0800 |
commit | 888a05999447a0a7d12e33ffdb4fc2309e19265e (patch) | |
tree | 5031b027bb1c8f08f3dea9b065fa719897b8cd69 /tests | |
parent | e56f562d476fe84706bbe23edfd844d5f782043d (diff) | |
download | forums-888a05999447a0a7d12e33ffdb4fc2309e19265e.tar forums-888a05999447a0a7d12e33ffdb4fc2309e19265e.tar.gz forums-888a05999447a0a7d12e33ffdb4fc2309e19265e.tar.bz2 forums-888a05999447a0a7d12e33ffdb4fc2309e19265e.tar.xz forums-888a05999447a0a7d12e33ffdb4fc2309e19265e.zip |
[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 generate_template_pagination(), this
separate assignment is no longer needed.
PHPBB3-12220
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions