diff --git a/phpBB/phpbb/notification/method/jabber.php b/phpBB/phpbb/notification/method/jabber.php index d0b6a44eb6..9a1aadb9a0 100644 --- a/phpBB/phpbb/notification/method/jabber.php +++ b/phpBB/phpbb/notification/method/jabber.php @@ -65,7 +65,7 @@ class jabber extends \phpbb\notification\method\messenger_base */ public function is_available(type_interface $notification_type = null) { - return parent::is_available($notification_type) && $this->global_available() && $this->user->data['user_jabber']; + return parent::is_available($notification_type) && $this->global_available() && !empty($this->user->data['user_jabber']); } /**