mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-05 09:25:37 +02:00
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:
@ -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 = "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user