From bf80001c806a1d01c73cdd70541cb824aa4ec6c4 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 2 Jan 2024 14:56:08 +0100 Subject: [PATCH] Fixed detection for empty server data in apcontact (#13791) --- src/Protocol/ActivityPub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5