Changed field origin

pull/9118/head
Michael 2020-09-02 03:13:10 +00:00
parent c8069eda0c
commit a2e4a0170b
1 changed files with 2 additions and 3 deletions

View File

@ -2122,9 +2122,8 @@ class Contact
$pending = false;
if ($protocol == Protocol::ACTIVITYPUB) {
$apcontact = APContact::getByURL($ret['url'], false);
if (isset($apcontact['manually-approve'])) {
$pending = (bool)$apcontact['manually-approve'];
if (isset($ret['manually-approve'])) {
$pending = (bool)$ret['manually-approve'];
}
}