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 '