]> git.mxchange.org Git - friendica.git/blobdiff - include/network.php
Resubmit all profiles on directory change
[friendica.git] / include / network.php
index b0e71fab7f8b93ecbc520c9af4e14e05c713992d..f9d35c52c34557d387f09eb490b23aa3358119b2 100644 (file)
@@ -72,8 +72,9 @@ function z_fetch_url($url,$binary = false, &$redirects = 0, $opts=array()) {
        $a = get_app();
 
        $ch = @curl_init($url);
-       if(($redirects > 8) || (! $ch))
-               return false;
+       if(($redirects > 8) || (! $ch)) {
+               return $ret;
+       }
 
        @curl_setopt($ch, CURLOPT_HEADER, true);