From: Michael Date: Wed, 10 Jul 2024 22:01:06 +0000 (+0000) Subject: Fix warning X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15ccd237783b3c51a68122a819c79a0445b37484;p=friendica.git Fix warning --- 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; }