mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
8787c41e92
commit
d7c8086999
1 changed files with 1 additions and 1 deletions
|
@ -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 />" : "";
|
||||
|
|
Loading…
Add table
Reference in a new issue