]> git.mxchange.org Git - friendica.git/commitdiff
Fix #4943.
authorAndreas Neustifter <andreas.neustifter@gmail.com>
Sat, 28 Apr 2018 06:46:46 +0000 (06:46 +0000)
committerAndreas Neustifter <andreas.neustifter@gmail.com>
Sat, 28 Apr 2018 06:46:46 +0000 (06:46 +0000)
PR #4939 introduced a bug that only surfaces when using Network from extern.
Use proper self reference to fix that.

src/Util/Network.php

index f0338e048213149f1d58497963e290a899b09bca..c1ea6e354765c7d2da1fffbaaf38e0c0aaca34eb 100644 (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'];
        }