mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Fix warning
This commit is contained in:
parent
d63edf5dfa
commit
15ccd23778
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue