mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00: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:
parent
efe2b06d81
commit
a57dd50f76
1 changed files with 10 additions and 0 deletions
|
@ -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 = "";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue