mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge remote-tracking branch 'remotes/bantu/ticket/11452' into develop
This commit is contained in:
@@ -39,7 +39,7 @@ class phpbb_notification_method_email extends phpbb_notification_method_messenge
|
||||
*/
|
||||
public function is_available()
|
||||
{
|
||||
return (bool) $this->config['email_enable'];
|
||||
return $this->config['email_enable'] && $this->user->data['user_email'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user