1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +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

@@ -336,7 +336,7 @@ 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('get_user_rank'))
if (!function_exists('phpbb_get_user_rank'))
{
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
}
@@ -486,7 +486,7 @@ class mcp_warn
}
// Generate the appropriate user information for the user we are looking at
if (!function_exists('get_user_rank'))
if (!function_exists('phpbb_get_user_rank'))
{
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
}