diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-05 14:14:21 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-05 14:14:21 +0000 |
commit | 53cde745a3ffb07584bdda89e0908a9826dc9cc7 (patch) | |
tree | 74688848b564349e093fb847ec44c53d3a023f04 /phpBB | |
parent | d2f2d1092903aa09e5695857613c5d61e55f8d4f (diff) | |
download | forums-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.php | 2 |
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 = " (<img src=\"" . $images['icon_minipost'] . "\" alt=\"" . $lang['Goto_page'] . "\" />" . $lang['Goto_page'] . ": "; |