From ec3cec37eb83b06838da0119340dc2855b5e07c3 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 4 Nov 2018 09:18:36 +0000 Subject: [PATCH] Fixes #6071: We should use the correct variable ... --- 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 beb5be125..c7c262355 100644 --- a/src/Protocol/ActivityPub.php +++ b/src/Protocol/ActivityPub.php @@ -67,7 +67,7 @@ class ActivityPub public static function fetchContent($url, $uid = 0) { if (!empty($uid)) { - return HTTPSignature::fetch($url, 1); + return HTTPSignature::fetch($url, $uid); } $curlResult = Network::curl($url, false, $redirects, ['accept_content' => 'application/activity+json, application/ld+json']);