From: Michael Vogel Date: Tue, 2 Jan 2024 13:56:08 +0000 (+0100) Subject: Fixed detection for empty server data in apcontact (#13791) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bf80001c806a1d01c73cdd70541cb824aa4ec6c4;p=friendica.git Fixed detection for empty server data in apcontact (#13791) --- diff --git a/src/Protocol/ActivityPub.php b/src/Protocol/ActivityPub.php index 7396f29211..a2ae7333eb 100644 --- a/src/Protocol/ActivityPub.php +++ b/src/Protocol/ActivityPub.php @@ -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; }