]> git.mxchange.org Git - friendica.git/blobdiff - mod/proxy.php
Review update
[friendica.git] / mod / proxy.php
index 1497185917f1ea189195fbbf9dfb30289346d84d..7efc0ffbaa67ed7d12e049fd1aecf9e091a4b7ee 100644 (file)
@@ -162,7 +162,7 @@ function proxy_init(App $a) {
                // It shouldn't happen but it does - spaces in URL
                $_REQUEST['url'] = str_replace(' ', '+', $_REQUEST['url']);
                $redirects = 0;
-               $img_str = Network::fetchURL($_REQUEST['url'], true, $redirects, 10);
+               $img_str = Network::fetchUrl($_REQUEST['url'], true, $redirects, 10);
 
                $tempfile = tempnam(get_temppath(), 'cache');
                file_put_contents($tempfile, $img_str);