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; }