diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-11-26 23:10:02 +0100 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-11-26 23:10:02 +0100 |
commit | a349db54d64557d3ae390791813b0e310ab52ad7 (patch) | |
tree | fd204b2e0eabf9c3b1d0d3498203550635e2f9e1 /phpBB/includes/acp | |
parent | 41d0b5d3a29f3a27997bc0ac488962161224f557 (diff) | |
download | forums-a349db54d64557d3ae390791813b0e310ab52ad7.tar forums-a349db54d64557d3ae390791813b0e310ab52ad7.tar.gz forums-a349db54d64557d3ae390791813b0e310ab52ad7.tar.bz2 forums-a349db54d64557d3ae390791813b0e310ab52ad7.tar.xz forums-a349db54d64557d3ae390791813b0e310ab52ad7.zip |
[ticket/13312] Use empty for usernames array
PHPBB3-13312
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r-- | phpBB/includes/acp/acp_email.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_email.php b/phpBB/includes/acp/acp_email.php index 9e63d03550..4671a026eb 100644 --- a/phpBB/includes/acp/acp_email.php +++ b/phpBB/includes/acp/acp_email.php @@ -70,7 +70,7 @@ class acp_email if (!sizeof($error)) { - if ($usernames) + if (!empty($usernames)) { // If giving usernames the admin is able to email inactive users too... $sql_ary = array( @@ -261,7 +261,7 @@ class acp_email if ($generate_log_entry) { - if ($usernames) + if (!empty($usernames)) { add_log('admin', 'LOG_MASS_EMAIL', implode(', ', utf8_normalize_nfc($usernames))); } |