Fixed detection for empty server data in apcontact (#13791)
This commit is contained in:
parent
4e7f0f9f04
commit
bf80001c80
|
@ -295,7 +295,7 @@ class ActivityPub
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($apcontact['gsid'] || empty($apcontact['baseurl']))) {
|
if (empty($apcontact['gsid']) || empty($apcontact['baseurl'])) {
|
||||||
Logger::debug('No server found', ['uid' => $uid, 'signer' => $signer, 'called_by' => $called_by]);
|
Logger::debug('No server found', ['uid' => $uid, 'signer' => $signer, 'called_by' => $called_by]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user