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

[ticket/9758] Error because of missing functions_display.php fixed

PHPBB3-9758
This commit is contained in:
Crizzo
2014-03-15 15:37:55 +01:00
parent 0d4968f735
commit 9d568986ad
2 changed files with 8 additions and 2 deletions

View File

@@ -293,9 +293,10 @@ class mcp_warn
$message = generate_text_for_display($user_row['post_text'], $user_row['bbcode_uid'], $user_row['bbcode_bitfield'], $parse_flags, true);
// Generate the appropriate user information for the user we are looking at
if (!function_exists('phpbb_get_user_avatar'))
if (!function_exists('get_user_rank'))
{
include($phpbb_root_path . 'includes/functions.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
}
get_user_rank($user_row['user_rank'], $user_row['user_posts'], $rank_title, $rank_img, $rank_img_src);