Fixed detection for empty server data in apcontact (#13791)

This commit is contained in:
Michael Vogel 2024-01-02 14:56:08 +01:00 committed by GitHub
parent 4e7f0f9f04
commit bf80001c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}