Change the community value as well
This commit is contained in:
parent
78271e88f5
commit
8d8f2a1845
|
@ -395,6 +395,12 @@ class Probe
|
|||
'network' => $data['network'],
|
||||
'server_url' => $data['baseurl']];
|
||||
|
||||
// This doesn't cover the case when a community isn't a community anymore
|
||||
if (!empty($data['community']) && $data['community']) {
|
||||
$fields['community'] = $data['community'];
|
||||
$fields['contact-type'] = ACCOUNT_TYPE_COMMUNITY;
|
||||
}
|
||||
|
||||
$fieldnames = [];
|
||||
|
||||
foreach ($fields as $key => $val) {
|
||||
|
|
Loading…
Reference in a new issue