aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/method
diff options
context:
space:
mode:
author3D-I <marktravai@gmail.com>2019-01-06 04:14:00 +0100
committer3D-I <marktravai@gmail.com>2019-01-06 04:25:53 +0100
commit89f586e99e6617270e201bda9d38e32618d3db2f (patch)
treed506daeab0f4308274c29f1aac36e0476bd2ff6b /phpBB/phpbb/notification/method
parenteead94c8a6829f43df6e0e97ecfa7ef566d92bc3 (diff)
parent871875d9aa3d0b0a17a0eb1936323d5737a438f5 (diff)
downloadforums-89f586e99e6617270e201bda9d38e32618d3db2f.tar
forums-89f586e99e6617270e201bda9d38e32618d3db2f.tar.gz
forums-89f586e99e6617270e201bda9d38e32618d3db2f.tar.bz2
forums-89f586e99e6617270e201bda9d38e32618d3db2f.tar.xz
forums-89f586e99e6617270e201bda9d38e32618d3db2f.zip
[ticket/15889] Use array version of sql_from tables in sql array
PHPBB3-15889
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']);
}
/**