aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-27 12:56:17 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-27 12:56:17 +0000
commit07f860826f05d4aa2e7fcc5933282914f35599f7 (patch)
tree60cd8d2b82b6de8811945888c4b5eae2f39beb40
parent61e2a3f5c1d43fd64e283e0fe79beee92f605999 (diff)
downloadforums-07f860826f05d4aa2e7fcc5933282914f35599f7.tar
forums-07f860826f05d4aa2e7fcc5933282914f35599f7.tar.gz
forums-07f860826f05d4aa2e7fcc5933282914f35599f7.tar.bz2
forums-07f860826f05d4aa2e7fcc5933282914f35599f7.tar.xz
forums-07f860826f05d4aa2e7fcc5933282914f35599f7.zip
#5624
git-svn-id: file:///svn/phpbb/trunk@6668 89ea8834-ac86-4346-8a33-228a782c2dd0
-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 c150831f0d..3cfb2f37a9 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -955,7 +955,7 @@ function handle_message_list_actions(&$address_list, $remove_u, $remove_g, $add_
}
// Check for disallowed recipients
- if (sizeof($address_list['u']))
+ if (!empty($address_list['u']))
{
// We need to check their PM status (do they want to receive PM's?)
// Only check if not a moderator or admin, since they are allowed to override this user setting