mirror of
https://github.com/friendica/friendica
synced 2024-12-23 17:20:16 +00:00
Fix #4943.
PR #4939 introduced a bug that only surfaces when using Network from extern. Use proper self reference to fix that.
This commit is contained in:
parent
66e5586d21
commit
91e0a9227e
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue