diff --git a/html/includes/dev-overview-data.inc.php b/html/includes/dev-overview-data.inc.php index ad55e5dda..fca484027 100644 --- a/html/includes/dev-overview-data.inc.php +++ b/html/includes/dev-overview-data.inc.php @@ -73,7 +73,7 @@ if ($device['location']) { } } -$loc = dbFetchRow("SELECT `lat`,`lng` FROM `coordinates` WHERE `location`=? LIMIT 1", array($device['location'])); +$loc = dbFetchRow("SELECT `lat`,`lng` FROM `locations` WHERE `location`=? LIMIT 1", array($device['location'])); if (is_array($loc)) { echo ' Lat / Lng diff --git a/html/pages/front/map.php b/html/pages/front/map.php index b20e1a66e..b29ac7bc3 100644 --- a/html/pages/front/map.php +++ b/html/pages/front/map.php @@ -51,7 +51,7 @@ var greenMarker = L.AwesomeMarkers.icon({ });