PR #4939 introduced a bug that only surfaces when using Network from extern.
Use proper self reference to fix that.
2022.09-rc
Andreas Neustifter 2018-04-28 06:46:46 +00:00
rodzic 66e5586d21
commit 91e0a9227e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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