aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/method
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-22 17:31:30 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-12-22 17:31:30 +0100
commit70a56c208fa5bcdde9337c871b30aaaf7e5602b8 (patch)
treec0fb49e28e52ec719fade6f7944554d0b4f09602 /phpBB/phpbb/notification/method
parent73fd2f357323bc3690ce15be23a54ef1896f87fa (diff)
parentb089116965c361b02106fb839877f33639982a42 (diff)
downloadforums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar
forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.gz
forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.bz2
forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.xz
forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.zip
Merge branch 'prep-release-3.2.5' into 3.2.x
Diffstat (limited to 'phpBB/phpbb/notification/method')
-rw-r--r--phpBB/phpbb/notification/method/email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/method/email.php b/phpBB/phpbb/notification/method/email.php
index 56dd1e9367..6376d13dc7 100644
--- a/phpBB/phpbb/notification/method/email.php
+++ b/phpBB/phpbb/notification/method/email.php
@@ -65,7 +65,7 @@ class email extends \phpbb\notification\method\messenger_base
*/
public function is_available(type_interface $notification_type = null)
{
- return parent::is_available($notification_type) && $this->config['email_enable'] && $this->user->data['user_email'];
+ return parent::is_available($notification_type) && $this->config['email_enable'] && !empty($this->user->data['user_email']);
}
/**