1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 15:16:16 +02:00

Merge pull request #3036 from prototech/ticket/13177

[ticket/13177] Fix display of post count-based ranks in viewtopic.
This commit is contained in:
Joas Schilling 2014-10-15 18:29:23 +02:00
commit 759950c1a6

View File

@ -1270,7 +1270,7 @@ while ($row = $db->sql_fetchrow($result))
$user_cache[$poster_id] = $user_cache_data;
$user_rank_data = phpbb_get_user_rank($row, false);
$user_rank_data = phpbb_get_user_rank($row, $row['user_posts']);
$user_cache[$poster_id]['rank_title'] = $user_rank_data['title'];
$user_cache[$poster_id]['rank_image'] = $user_rank_data['img'];
$user_cache[$poster_id]['rank_image_src'] = $user_rank_data['img_src'];