mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Rank code playing silly beggars again, I hate that game personally
git-svn-id: file:///svn/phpbb/trunk@1342 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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']) ? "<img src=\"" . $ranksrow[$j]['rank_image'] . "\"><br />" : "";
|
||||
|
Reference in New Issue
Block a user