aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_compose.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-25 11:20:06 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-25 11:20:06 +0100
commit2168cb7f8e5a54c4676edddfb5804e1441baf179 (patch)
treefc6d3b365004b338a412fbef6c7ca8fb5871c621 /phpBB/includes/ucp/ucp_pm_compose.php
parent53a9131db68d17de092fe2b6bf04b411226a1134 (diff)
parentf77142c0b67acf4cf102035ec521f8cec395b43e (diff)
downloadforums-2168cb7f8e5a54c4676edddfb5804e1441baf179.tar
forums-2168cb7f8e5a54c4676edddfb5804e1441baf179.tar.gz
forums-2168cb7f8e5a54c4676edddfb5804e1441baf179.tar.bz2
forums-2168cb7f8e5a54c4676edddfb5804e1441baf179.tar.xz
forums-2168cb7f8e5a54c4676edddfb5804e1441baf179.zip
Merge pull request #4231 from Senky/ticket/13630
[ticket/13630] Prevent empty parameter select_single * Senky/ticket/13630: [ticket/13630] Prevent empty parameter select_single
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_compose.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index 8b7d42e9c9..aae80b0c06 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -154,7 +154,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
'S_SHOW_PM_BOX' => true,
'S_ALLOW_MASS_PM' => ($config['allow_mass_pm'] && $auth->acl_get('u_masspm')) ? true : false,
'S_GROUP_OPTIONS' => ($config['allow_mass_pm'] && $auth->acl_get('u_masspm_group')) ? $group_options : '',
- 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=searchuser&amp;form=postform&amp;field=username_list&amp;select_single=$select_single"),
+ 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=searchuser&amp;form=postform&amp;field=username_list&amp;select_single=" . (int) $select_single),
));
}