[PHPBB3-9581] Banned users get mass emails. Created: 30/Apr/10 Updated: 10/Apr/11 Resolved: 10/Apr/11
|Reporter:||stevemaury||Assignee:||Oleg [X] (Inactive)|
|GitHub Pull Request URL:||https://github.com/phpbb/phpbb3/pull/57|
Title says it all. I don't think that is the intended behavior.
|Comment by Adam Reyher [ 30/Apr/10 ]|
I can see in certain circumstances where an admin would want to specifically email a group of banned users made by the admin, so phpBB should not hard code to prevent this behavior. If anything, an option in the ACP should be provided, with the default being set so that banned users do not get mass emails.
|Comment by Oleg [X] (Inactive) [ 22/Mar/11 ]|
Receiving notices with the patch:
[phpBB Debug] PHP Notice: in file /includes/acp/acp_email.php on line 142: Undefined index: user_lang
This is when emailing "All users". If I choose a group the notices go away.
Looks like user_lang was (accidentally?) removed from the else path in the diff.