From 3fec8dff2cc22bc56a6d909be6df8742ab145c6f Mon Sep 17 00:00:00 2001 From: Cesar G Date: Tue, 8 Apr 2014 05:33:24 -0700 Subject: [ticket/10737] Set the username as the input value instead of redirecting. PHPBB3-10737 --- phpBB/memberlist.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'phpBB/memberlist.php') diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 3cc92b5fe0..4103855f43 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -996,8 +996,9 @@ switch ($mode) { $user_list[] = array( 'user_id' => (int) $row['user_id'], - 'username' => $row['username'], - 'result' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']), + 'result' => $row['username'], + 'username_full' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']), + 'display' => get_username_string('no_profile', $row['user_id'], $row['username'], $row['user_colour']), ); } $db->sql_freeresult($result); -- cgit v1.2.1