diff options
author | GanstaZ <ganstaz@hotmail.com> | 2018-12-22 22:26:54 +0200 |
---|---|---|
committer | GanstaZ <ganstaz@hotmail.com> | 2018-12-22 22:26:54 +0200 |
commit | c6f613bae55be0f2aab855d58ca7fbcaa643c626 (patch) | |
tree | ed1488880d384efc3ddd3192a24239afcd8d9ab6 /phpBB/phpbb/notification/method/email.php | |
parent | 349ab42fdc994c5fa16436bd2d82df0ef4019f16 (diff) | |
parent | 70a56c208fa5bcdde9337c871b30aaaf7e5602b8 (diff) | |
download | forums-c6f613bae55be0f2aab855d58ca7fbcaa643c626.tar forums-c6f613bae55be0f2aab855d58ca7fbcaa643c626.tar.gz forums-c6f613bae55be0f2aab855d58ca7fbcaa643c626.tar.bz2 forums-c6f613bae55be0f2aab855d58ca7fbcaa643c626.tar.xz forums-c6f613bae55be0f2aab855d58ca7fbcaa643c626.zip |
Merge branch '3.2.x' into ticket/15914
Diffstat (limited to 'phpBB/phpbb/notification/method/email.php')
-rw-r--r-- | phpBB/phpbb/notification/method/email.php | 2 |
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']); } /** |