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

pull/13793/head
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
1 changed files with 1 additions and 1 deletions

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