From 15ccd237783b3c51a68122a819c79a0445b37484 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 10 Jul 2024 22:01:06 +0000 Subject: [PATCH] Fix warning --- src/Network/Probe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/Probe.php b/src/Network/Probe.php index 7c589745aa..a5f90e4373 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -957,7 +957,7 @@ class Probe if (!empty($json['public_forum'])) { $data['community'] = $json['public_forum']; $data['account-type'] = User::ACCOUNT_TYPE_COMMUNITY; - } elseif ($json['channel_type'] == 'normal') { + } elseif (($json['channel_type'] ?? '') == 'normal') { $data['account-type'] = User::ACCOUNT_TYPE_PERSON; }