aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthe_systech <the_systech@users.sourceforge.net>2002-03-25 23:03:32 +0000
committerthe_systech <the_systech@users.sourceforge.net>2002-03-25 23:03:32 +0000
commit0a947e4b5824f6943960cf5359814c7e613db735 (patch)
treea8017e7afe5393a98f79a4f49f27fcf7291e5f69
parent6d72d7c29f25caf338a2d33f1dac9e86bd034608 (diff)
downloadforums-0a947e4b5824f6943960cf5359814c7e613db735.tar
forums-0a947e4b5824f6943960cf5359814c7e613db735.tar.gz
forums-0a947e4b5824f6943960cf5359814c7e613db735.tar.bz2
forums-0a947e4b5824f6943960cf5359814c7e613db735.tar.xz
forums-0a947e4b5824f6943960cf5359814c7e613db735.zip
fix bug #534904
git-svn-id: file:///svn/phpbb/trunk@2436 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/usercp_viewprofile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/usercp_viewprofile.php b/phpBB/includes/usercp_viewprofile.php
index c164cf1e13..6960e4a9ca 100644
--- a/phpBB/includes/usercp_viewprofile.php
+++ b/phpBB/includes/usercp_viewprofile.php
@@ -132,7 +132,7 @@ else
{
for($i = 0; $i < count($ranksrow); $i++)
{
- if ( $profiledata['user_posts'] > $ranksrow[$i]['rank_min'] && !$ranksrow[$i]['rank_special'] )
+ if ( $profiledata['user_posts'] >= $ranksrow[$i]['rank_min'] && !$ranksrow[$i]['rank_special'] )
{
$poster_rank = $ranksrow[$i]['rank_title'];
$rank_image = ( $ranksrow[$i]['rank_image'] ) ? '<img src="' . $ranksrow[$i]['rank_image'] . '" alt="' . $poster_rank . '" title="' . $poster_rank . '" border="0" /><br />' : '';
@@ -230,4 +230,4 @@ $template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
-?> \ No newline at end of file
+?>