]> git.mxchange.org Git - friendica.git/commitdiff
Fixed detection for empty server data in apcontact (#13791)
authorMichael Vogel <icarus@dabo.de>
Tue, 2 Jan 2024 13:56:08 +0000 (14:56 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Jan 2024 13:56:08 +0000 (14:56 +0100)
src/Protocol/ActivityPub.php

index 7396f29211ebc01586ae77ee2376ef398d8c98f9..a2ae7333ebeef0c609802e902283f30df5c99d53 100644 (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;
                }