1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

Merge pull request #6492 from im4bb/ticket/17146

Fix 'undefined array key' php8 warning
This commit is contained in:
Marc Alexander
2023-06-26 09:40:57 +02:00

View File

@@ -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']);
}
/**