diff options
author | 3Di <three3di@hotmail.it> | 2018-12-24 09:42:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-24 09:42:16 +0100 |
commit | 871875d9aa3d0b0a17a0eb1936323d5737a438f5 (patch) | |
tree | d035cb1e7c7d99fedd70976c47cf9d7d8a04c7ac /phpBB/phpbb/notification/method/email.php | |
parent | db7f4d4c9523e5dc36c62ec6fe647aaf7708daaa (diff) | |
parent | ca98cd413a6f01eb01e3ca60cea9b55409dadc61 (diff) | |
download | forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.tar forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.tar.gz forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.tar.bz2 forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.tar.xz forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.zip |
Merge pull request #1 from phpbb/3.2.x
3.2.x
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']); } /** |