From d7c80869997214e231b25271caee0bd57b3be7aa Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 16 Nov 2001 23:03:12 +0000 Subject: [PATCH] Rank code playing silly beggars again, I hate that game personally git-svn-id: file:///svn/phpbb/trunk@1342 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index f882777d31..a16efadb0e 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -767,7 +767,7 @@ for($i = 0; $i < $total_posts; $i++) { for($j = 0; $j < count($ranksrow); $j++) { - if($postrow[$i]['user_posts'] > $ranksrow[$j]['rank_min'] && $postrow[$i]['user_posts'] < $ranksrow[$j]['rank_max'] && !$ranksrow[$j]['rank_special']) + if($postrow[$i]['user_posts'] >= $ranksrow[$j]['rank_min'] && $postrow[$i]['user_posts'] < $ranksrow[$j]['rank_max'] && !$ranksrow[$j]['rank_special']) { $poster_rank = $ranksrow[$j]['rank_title']; $rank_image = ($ranksrow[$j]['rank_image']) ? "
" : "";