aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-10-05 14:14:21 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-10-05 14:14:21 +0000
commit53cde745a3ffb07584bdda89e0908a9826dc9cc7 (patch)
tree74688848b564349e093fb847ec44c53d3a023f04 /phpBB
parentd2f2d1092903aa09e5695857613c5d61e55f8d4f (diff)
downloadforums-53cde745a3ffb07584bdda89e0908a9826dc9cc7.tar
forums-53cde745a3ffb07584bdda89e0908a9826dc9cc7.tar.gz
forums-53cde745a3ffb07584bdda89e0908a9826dc9cc7.tar.bz2
forums-53cde745a3ffb07584bdda89e0908a9826dc9cc7.tar.xz
forums-53cde745a3ffb07584bdda89e0908a9826dc9cc7.zip
Added one to check for display of goto page output
git-svn-id: file:///svn/phpbb/trunk@1129 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/viewforum.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 86e131322a..b9a2de05d9 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -453,7 +453,7 @@ if($total_topics)
$replies = $topic_rowset[$i]['topic_replies'];
- if($replies > $board_config['posts_per_page'])
+ if( ( $replies + 1 ) > $board_config['posts_per_page'] )
{
$goto_page = "&nbsp;&nbsp;&nbsp;(<img src=\"" . $images['icon_minipost'] . "\" alt=\"" . $lang['Goto_page'] . "\" />" . $lang['Goto_page'] . ": ";