diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 77656accab..c6afafe01a 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -106,11 +106,12 @@
[Fix] Fix possible database transaction errors if code returns on error and rollback happened (Bug #17025)
[Change] Allow numbers in permission names for modifications, as well as uppercase letters for the request_ part (Bug #20125)
[Fix] Use HTTP_HOST in favor of SERVER_NAME for determining server url for redirection and installation (Bug #19955)
- Removing s_watching_img from watch_topic_forum() function (Bug #20445)
- Changing order for post review if more than one post affected (Bug #15249)
- Language typos/fixes (Bug #20425, #15719, #15429, #14669, #13479)
- Style/Template fixes (Bug #20065, #19405, #19205, #15028, #14934, #14821, #14752, #14497, #13707, #14738)
- Tiny code fixes (Bug #20165, #20025, #19795, #14804)
+ [Fix] Removing s_watching_img from watch_topic_forum() function (Bug #20445)
+ [Fix] Changing order for post review if more than one post affected (Bug #15249)
+ [Fix] Language typos/fixes (Bug #20425, #15719, #15429, #14669, #13479)
+ [Fix] Style/Template fixes (Bug #20065, #19405, #19205, #15028, #14934, #14821, #14752, #14497, #13707, #14738)
+ [Fix] Tiny code fixes (Bug #20165, #20025, #19795, #14804)
+ [Fix] Prepend phpbb_root_path to ranks path for displaying ranks (Bug #19075)
1.i. Changes since 3.0.RC8
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index a3507a7b54..88b07305a2 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1102,7 +1102,7 @@ function watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id,
*/
function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)
{
- global $ranks, $config;
+ global $ranks, $config, $phpbb_root_path;
if (empty($ranks))
{
@@ -1113,8 +1113,8 @@ function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank
if (!empty($user_rank))
{
$rank_title = (isset($ranks['special'][$user_rank]['rank_title'])) ? $ranks['special'][$user_rank]['rank_title'] : '';
- $rank_img = (!empty($ranks['special'][$user_rank]['rank_image'])) ? '
' : '';
- $rank_img_src = (!empty($ranks['special'][$user_rank]['rank_image'])) ? $config['ranks_path'] . '/' . $ranks['special'][$user_rank]['rank_image'] : '';
+ $rank_img = (!empty($ranks['special'][$user_rank]['rank_image'])) ? '
' : '';
+ $rank_img_src = (!empty($ranks['special'][$user_rank]['rank_image'])) ? $phpbb_root_path . $config['ranks_path'] . '/' . $ranks['special'][$user_rank]['rank_image'] : '';
}
else
{
@@ -1125,8 +1125,8 @@ function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank
if ($user_posts >= $rank['rank_min'])
{
$rank_title = $rank['rank_title'];
- $rank_img = (!empty($rank['rank_image'])) ? '
' : '';
- $rank_img_src = (!empty($rank['rank_image'])) ? $config['ranks_path'] . '/' . $rank['rank_image'] : '';
+ $rank_img = (!empty($rank['rank_image'])) ? '
' : '';
+ $rank_img_src = (!empty($rank['rank_image'])) ? $phpbb_root_path . $config['ranks_path'] . '/' . $rank['rank_image'] : '';
break;
}
}