From b2b0d89a24c485f57bcfe876e2b39d19e90d8ddf Mon Sep 17 00:00:00 2001 From: laf Date: Mon, 20 Jul 2015 16:53:06 +0100 Subject: [PATCH] Fixed scrut issues --- includes/polling/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/functions.inc.php b/includes/polling/functions.inc.php index a8c770f15..a451158ee 100644 --- a/includes/polling/functions.inc.php +++ b/includes/polling/functions.inc.php @@ -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'];