Changed field origin
This commit is contained in:
parent
c8069eda0c
commit
a2e4a0170b
|
@ -2122,9 +2122,8 @@ class Contact
|
||||||
|
|
||||||
$pending = false;
|
$pending = false;
|
||||||
if ($protocol == Protocol::ACTIVITYPUB) {
|
if ($protocol == Protocol::ACTIVITYPUB) {
|
||||||
$apcontact = APContact::getByURL($ret['url'], false);
|
if (isset($ret['manually-approve'])) {
|
||||||
if (isset($apcontact['manually-approve'])) {
|
$pending = (bool)$ret['manually-approve'];
|
||||||
$pending = (bool)$apcontact['manually-approve'];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user