mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'remotes/bantu/ticket/11452' into develop
This commit is contained in:
commit
fe13b89dd4
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue