From 53cde745a3ffb07584bdda89e0908a9826dc9cc7 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 5 Oct 2001 14:14:21 +0000 Subject: [PATCH] Added one to check for display of goto page output git-svn-id: file:///svn/phpbb/trunk@1129 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewforum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "   (\""" . $lang['Goto_page'] . ": ";