Fixed detection for empty server data in apcontact

This commit is contained in:
Michael 2024-01-02 07:20:10 +00:00
parent 4e7f0f9f04
commit 21e808c90d

View file

@ -295,7 +295,7 @@ class ActivityPub
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]);
return false;
}