1
1
Fork 0

Fixes #6071: We should use the correct variable ...

This commit is contained in:
Michael 2018-11-04 09:18:36 +00:00
parent 62761e1099
commit ec3cec37eb

View file

@ -67,7 +67,7 @@ class ActivityPub
public static function fetchContent($url, $uid = 0) public static function fetchContent($url, $uid = 0)
{ {
if (!empty($uid)) { 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']); $curlResult = Network::curl($url, false, $redirects, ['accept_content' => 'application/activity+json, application/ld+json']);