]> git.mxchange.org Git - friendica.git/commitdiff
Fixes #6071: We should use the correct variable ...
authorMichael <heluecht@pirati.ca>
Sun, 4 Nov 2018 09:18:36 +0000 (09:18 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 4 Nov 2018 09:18:36 +0000 (09:18 +0000)
src/Protocol/ActivityPub.php

index beb5be125d3df9bf98e332e19216b8f4fb2fae1b..c7c2623558da2981a935f18fd969ed74e83952cb 100644 (file)
@@ -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']);