From 91e0a9227e43b74b8a3b76f40fb6ebb2bba15526 Mon Sep 17 00:00:00 2001 From: Andreas Neustifter Date: Sat, 28 Apr 2018 06:46:46 +0000 Subject: [PATCH] Fix #4943. PR #4939 introduced a bug that only surfaces when using Network from extern. Use proper self reference to fix that. --- src/Util/Network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Network.php b/src/Util/Network.php index f0338e0482..c1ea6e3547 100644 --- a/src/Util/Network.php +++ b/src/Util/Network.php @@ -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']; } -- 2.39.5