Fixed scrut issues

This commit is contained in:
laf
2015-07-20 16:53:06 +01:00
parent 031a818c77
commit b2b0d89a24

View File

@@ -419,10 +419,10 @@ function get_main_serial($device) {
function location_to_latlng($device) {
global $config;
if (function_check('curl_version') !== true) {
d_echo("Curl support for PHP not enabled\n");
return false;
exit;
}
$bad_loc = false;
$device_location = $device['location'];