aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 494f018e41..d1859b96ab 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -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 = "";
}