mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[bug/59465] Remove start=0 from topic pagination links.
Patch once again by nn-.
This commit is contained in:
parent
a3a8fb989c
commit
492063cec6
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ function topic_generate_pagination($replies, $url)
|
||||||
$times = 1;
|
$times = 1;
|
||||||
for ($j = 0; $j < $replies + 1; $j += $per_page)
|
for ($j = 0; $j < $replies + 1; $j += $per_page)
|
||||||
{
|
{
|
||||||
$pagination .= '<a href="' . $url . '&start=' . $j . '">' . $times . '</a>';
|
$pagination .= '<a href="' . $url . ($j == 0 ? '' : '&start=' . $j) . '">' . $times . '</a>';
|
||||||
if ($times == 1 && $total_pages > 5)
|
if ($times == 1 && $total_pages > 5)
|
||||||
{
|
{
|
||||||
$pagination .= ' ... ';
|
$pagination .= ' ... ';
|
||||||
|
|
Loading…
Add table
Reference in a new issue