Fixed bug with non-ranked post getting the rank of the previous poster. Partially filed under #462263.

git-svn-id: file:///svn/phpbb/trunk@1139 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
natec 2001-10-08 18:08:09 +00:00
parent efe2b06d81
commit a57dd50f76

View file

@ -686,8 +686,18 @@ for($i = 0; $i < $total_posts; $i++)
//
// Generate ranks
//
//
// Set them to empty string initially, in case we don't find a rank for this dude.
//
$poster_rank = "";
$rank_image = "";
if( $postrow[$i]['user_id'] == ANONYMOUS )
{
//
// This is redundant, but some day we might wanna stick in a rank for anon. posts.
//
$poster_rank = "";
$rank_image = "";
}