aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-04-08 05:33:24 -0700
committerCesar G <prototech91@gmail.com>2014-04-23 09:11:40 -0700
commit3fec8dff2cc22bc56a6d909be6df8742ab145c6f (patch)
treef382c9bb4ef84a5334c7fc2f70c8819cfb1141ed /phpBB/memberlist.php
parent333a18d8466d0299415520ca0436bfe6c005a747 (diff)
downloadforums-3fec8dff2cc22bc56a6d909be6df8742ab145c6f.tar
forums-3fec8dff2cc22bc56a6d909be6df8742ab145c6f.tar.gz
forums-3fec8dff2cc22bc56a6d909be6df8742ab145c6f.tar.bz2
forums-3fec8dff2cc22bc56a6d909be6df8742ab145c6f.tar.xz
forums-3fec8dff2cc22bc56a6d909be6df8742ab145c6f.zip
[ticket/10737] Set the username as the input value instead of redirecting.
PHPBB3-10737
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php5
1 files changed, 3 insertions, 2 deletions
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);