aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xphpBB/includes/mcp/mcp_notes.php2
-rwxr-xr-xphpBB/includes/mcp/mcp_warn.php6
2 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_notes.php b/phpBB/includes/mcp/mcp_notes.php
index 57436bbb66..84f523762c 100755
--- a/phpBB/includes/mcp/mcp_notes.php
+++ b/phpBB/includes/mcp/mcp_notes.php
@@ -39,7 +39,7 @@ class mcp_notes
{
case 'front':
$template->assign_vars(array(
- 'U_FIND_MEMBER' => "memberlist.$phpEx$SID&mode=searchuser&field=username",
+ 'U_FIND_MEMBER' => "memberlist.$phpEx$SID&mode=searchuser&form=mcp&field=username",
'U_POST_ACTION' => "mcp.$phpEx$SID&i=notes&mode=user_notes",
)
);
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