diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-08-18 18:44:23 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-08-19 13:51:21 +0200 |
commit | 5e7d9d2fcf5a78ef97287c635310c6ea28572464 (patch) | |
tree | b5f2f2c5e2c9edee0a0be470431de96d263393a8 /phpBB/includes/functions_compatibility.php | |
parent | 496cc64bc63befc2bb6f250e1712cd5a00986aef (diff) | |
download | forums-5e7d9d2fcf5a78ef97287c635310c6ea28572464.tar forums-5e7d9d2fcf5a78ef97287c635310c6ea28572464.tar.gz forums-5e7d9d2fcf5a78ef97287c635310c6ea28572464.tar.bz2 forums-5e7d9d2fcf5a78ef97287c635310c6ea28572464.tar.xz forums-5e7d9d2fcf5a78ef97287c635310c6ea28572464.zip |
[ticket/12993] Fix includes of functions_display
PHPBB3-12993
Diffstat (limited to 'phpBB/includes/functions_compatibility.php')
-rw-r--r-- | phpBB/includes/functions_compatibility.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/functions_compatibility.php b/phpBB/includes/functions_compatibility.php index b371978ee5..efd586c234 100644 --- a/phpBB/includes/functions_compatibility.php +++ b/phpBB/includes/functions_compatibility.php @@ -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); } |