mirror of
https://github.com/friendica/friendica
synced 2024-11-17 23:43:40 +00:00
commit
33e26b966e
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