From d568830df35518974c4bdef61767c66f3f822f67 Mon Sep 17 00:00:00 2001 From: Sergiusz Paprzycki Date: Sun, 6 Sep 2015 23:14:52 +0100 Subject: [PATCH] Leaflet map permissions check #1855 --- html/includes/common/worldmap.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/html/includes/common/worldmap.inc.php b/html/includes/common/worldmap.inc.php index 03a3b9603..7feae55a5 100644 --- a/html/includes/common/worldmap.inc.php +++ b/html/includes/common/worldmap.inc.php @@ -69,7 +69,6 @@ else { AND `devices_perms`.`user_id` = '".$_SESSION['user_id']."' ORDER BY `status` ASC, `hostname`"; } -// Slightly modified foreach - grabbing SQL query string from above foreach (dbFetchRows($sql) as $map_devices) { $icon = 'greenMarker'; if ($map_devices['status'] == 0) {