aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/notification/method/email.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/notification/method/email.php')
-rw-r--r--phpBB/includes/notification/method/email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/notification/method/email.php b/phpBB/includes/notification/method/email.php
index 44666b1422..571b0ec656 100644
--- a/phpBB/includes/notification/method/email.php
+++ b/phpBB/includes/notification/method/email.php
@@ -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'];
}
/**