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, 4 insertions, 6 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 31f90eff24..19a73a83f3 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -989,6 +989,10 @@ while ($row = $db->sql_fetchrow($result))
'avatar' => '',
'age' => '',
+ 'rank_title' => '',
+ 'rank_image' => '',
+ 'rank_image_src' => '',
+
'online' => false,
'profile' => append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=viewprofile&u=$poster_id"),
'www' => $row['user_website'],
@@ -1039,12 +1043,6 @@ while ($row = $db->sql_fetchrow($result))
}
}
}
- else
- {
- $user_cache[$poster_id]['rank_title'] = '';
- $user_cache[$poster_id]['rank_image'] = '';
- $user_cache[$poster_id]['rank_image_src'] = '';
- }
}
if (!empty($row['user_allow_viewemail']) || $auth->acl_get('a_email'))