1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 09:46:46 +02:00

[ticket/12993] Fix includes of functions_display

PHPBB3-12993
This commit is contained in:
Tristan Darricau
2014-08-18 18:44:23 +02:00
parent 496cc64bc6
commit 5e7d9d2fcf
4 changed files with 10 additions and 4 deletions

View File

@@ -182,5 +182,11 @@ function update_foes($group_id = false, $user_id = false)
*/
function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)
{
global $phpbb_root_path, $phpEx;
if (!function_exists('phpbb_get_user_rank'))
{
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
}
phpbb_get_user_rank(array('user_rank' => $user_rank), $user_posts, $rank_title, $rank_img, $rank_img_src);
}