diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-04-28 16:16:24 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-04-28 16:16:24 +0000 |
commit | 2547ca9635a7492ea89fd4de5e3f4fa966a0f911 (patch) | |
tree | f4a475eade1b7d536c52dcd59a46b74178f12265 /phpBB | |
parent | dc1e334d073fdb191a4742e02b401749b794f984 (diff) | |
download | forums-2547ca9635a7492ea89fd4de5e3f4fa966a0f911.tar forums-2547ca9635a7492ea89fd4de5e3f4fa966a0f911.tar.gz forums-2547ca9635a7492ea89fd4de5e3f4fa966a0f911.tar.bz2 forums-2547ca9635a7492ea89fd4de5e3f4fa966a0f911.tar.xz forums-2547ca9635a7492ea89fd4de5e3f4fa966a0f911.zip |
Bug #44525 - do not try to fetch existing username var in cookie set by external applications on pm'ing
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9494 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index e9e3141bd6..008d8d6c88 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -1125,7 +1125,9 @@ function handle_message_list_actions(&$address_list, &$error, $remove_u, $remove $group_list = request_var('group_list', array(0)); // Build usernames to add - $usernames = (isset($_REQUEST['username'])) ? array(request_var('username', '', true)) : array(); + $usernames = request_var('username', '', true); + $usernames = (empty($usernames)) ? array() : array($usernames); + $username_list = request_var('username_list', '', true); if ($username_list) { |