aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/usercp_viewprofile.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/usercp_viewprofile.php')
-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
+?>