Commit 8d906af6 authored by Ad Schellevis's avatar Ad Schellevis

fix return type in download_file()

parent 4e3b66c2
...@@ -128,7 +128,7 @@ function download_file($url, $destination, $verify_ssl = false, $connect_timeout ...@@ -128,7 +128,7 @@ function download_file($url, $destination, $verify_ssl = false, $connect_timeout
fclose($fp); fclose($fp);
curl_close($ch); curl_close($ch);
return ($http_code == 200) ? true : $http_code; return ($http_code == 200);
} }
function update_alias_names_upon_change($section, $field, $new_alias_name, $origname) function update_alias_names_upon_change($section, $field, $new_alias_name, $origname)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment