aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/pagination.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-02-18 12:04:31 -0800
committerCesar G <prototech91@gmail.com>2014-02-18 12:04:31 -0800
commitc7efadc26df3cec35a0aede4bd2b7ec75c28827d (patch)
tree8c61733ddfcc1317f565796ed7639f41fd5941f5 /phpBB/phpbb/pagination.php
parent5f9d54646f03a7b646181f6e08a6949d29145eab (diff)
downloadforums-c7efadc26df3cec35a0aede4bd2b7ec75c28827d.tar
forums-c7efadc26df3cec35a0aede4bd2b7ec75c28827d.tar.gz
forums-c7efadc26df3cec35a0aede4bd2b7ec75c28827d.tar.bz2
forums-c7efadc26df3cec35a0aede4bd2b7ec75c28827d.tar.xz
forums-c7efadc26df3cec35a0aede4bd2b7ec75c28827d.zip
[ticket/12153] Remove duplicate assignment of $u_previous_page & $u_next_page.
PHPBB3-12153
Diffstat (limited to 'phpBB/phpbb/pagination.php')
-rw-r--r--phpBB/phpbb/pagination.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/phpBB/phpbb/pagination.php b/phpBB/phpbb/pagination.php
index c673d66f5a..8820b89431 100644
--- a/phpBB/phpbb/pagination.php
+++ b/phpBB/phpbb/pagination.php
@@ -107,7 +107,6 @@ class pagination
$end_page = ($total_pages > 5) ? max(min($total_pages, $on_page + 3), 5) : $total_pages;
}
- $u_previous_page = $u_next_page = '';
if ($on_page != 1)
{
$u_previous_page = $this->generate_page_link($base_url, $on_page - 1, $start_name, $per_page);