aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_warn.php
diff options
context:
space:
mode:
authorForumhulp.com <info@forumhulp.com>2014-08-04 14:11:25 +0200
committerTristan Darricau <github@nicofuma.fr>2014-08-18 13:59:33 +0200
commit8671e40217f8a14fc653a8a3570e7ee93101407f (patch)
tree535387072f6d004c1684be30b77d312e8ff00a38 /phpBB/includes/mcp/mcp_warn.php
parenta82a88b555c8cecef1758f32518c9dcb21283bda (diff)
downloadforums-8671e40217f8a14fc653a8a3570e7ee93101407f.tar
forums-8671e40217f8a14fc653a8a3570e7ee93101407f.tar.gz
forums-8671e40217f8a14fc653a8a3570e7ee93101407f.tar.bz2
forums-8671e40217f8a14fc653a8a3570e7ee93101407f.tar.xz
forums-8671e40217f8a14fc653a8a3570e7ee93101407f.zip
[ticket/12993] Improve get_user_ranks
Explanation in http://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=46051 PHPBB3-12993
Diffstat (limited to 'phpBB/includes/mcp/mcp_warn.php')
-rw-r--r--phpBB/includes/mcp/mcp_warn.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php
index fb47522644..1629e62872 100644
--- a/phpBB/includes/mcp/mcp_warn.php
+++ b/phpBB/includes/mcp/mcp_warn.php
@@ -341,7 +341,7 @@ class mcp_warn
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);
+ get_user_rank($user_row, $user_row['user_posts'], $rank_title, $rank_img, $rank_img_src);
$avatar_img = phpbb_get_user_avatar($user_row);
$template->assign_vars(array(
@@ -490,7 +490,7 @@ class mcp_warn
{
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);
+ get_user_rank($user_row, $user_row['user_posts'], $rank_title, $rank_img, $rank_img_src);
$avatar_img = phpbb_get_user_avatar($user_row);
// OK, they didn't submit a warning so lets build the page for them to do so