From: Andreas Neustifter <andreas.neustifter@gmail.com>
Date: Sat, 28 Apr 2018 06:46:46 +0000 (+0000)
Subject: Fix #4943.
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=91e0a9227e43b74b8a3b76f40fb6ebb2bba15526;p=friendica.git

Fix #4943.

PR #4939 introduced a bug that only surfaces when using Network from extern.
Use proper self reference to fix that.
---

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