aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_warn.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/mcp/mcp_warn.php')
-rwxr-xr-xphpBB/includes/mcp/mcp_warn.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php
index ccc3c345ce..7d982a338b 100755
--- a/phpBB/includes/mcp/mcp_warn.php
+++ b/phpBB/includes/mcp/mcp_warn.php
@@ -99,7 +99,11 @@ function mcp_warn_front_view($id, $mode)
global $SID, $phpEx, $phpbb_root_path, $config;
global $template, $db, $user, $auth;
- $template->assign_var('U_POST_ACTION', "mcp.$phpEx$SID&i=warn&mode=warn_user");
+ $template->assign_vars(array(
+ 'U_FIND_MEMBER' => "memberlist.$phpEx$SID&mode=searchuser&form=mcp&field=username",
+ 'U_POST_ACTION' => "mcp.$phpEx$SID&i=warn&mode=warn_user",
+ )
+ );
// Obtain a list of the 5 naughtiest users....
// These are the 5 users with the highest warning count