mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 06:19:16 +02:00
commit
33e26b966e
1 changed files with 1 additions and 1 deletions
|
@ -957,7 +957,7 @@ class Probe
|
||||||
if (!empty($json['public_forum'])) {
|
if (!empty($json['public_forum'])) {
|
||||||
$data['community'] = $json['public_forum'];
|
$data['community'] = $json['public_forum'];
|
||||||
$data['account-type'] = User::ACCOUNT_TYPE_COMMUNITY;
|
$data['account-type'] = User::ACCOUNT_TYPE_COMMUNITY;
|
||||||
} elseif ($json['channel_type'] == 'normal') {
|
} elseif (($json['channel_type'] ?? '') == 'normal') {
|
||||||
$data['account-type'] = User::ACCOUNT_TYPE_PERSON;
|
$data['account-type'] = User::ACCOUNT_TYPE_PERSON;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue