Fixes #6071: We should use the correct variable ...
This commit is contained in:
parent
62761e1099
commit
ec3cec37eb
|
@ -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']);
|
||||||
|
|
Loading…
Reference in a new issue