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:
Andreas Neustifter 2018-04-28 06:46:46 +00:00
parent 66e5586d21
commit 91e0a9227e

View file

@ -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'];
}