sforkowany z mirror/friendica
Fix #4943.
PR #4939 introduced a bug that only surfaces when using Network from extern. Use proper self reference to fix that.2022.09-rc
rodzic
66e5586d21
commit
91e0a9227e
|
@ -36,7 +36,7 @@ class Network
|
|||
*/
|
||||
public static function fetchUrl($url, $binary = false, &$redirects = 0, $timeout = 0, $accept_content = null, $cookiejar = 0)
|
||||
{
|
||||
$ret = fetchUrlFull($url, $binary, $redirects, $timeout, $accept_content, $cookiejar);
|
||||
$ret = self::fetchUrlFull($url, $binary, $redirects, $timeout, $accept_content, $cookiejar);
|
||||
|
||||
return $ret['body'];
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue