Updated to use new table name

This commit is contained in:
laf
2015-07-23 18:41:41 +01:00
parent 7951ad44d0
commit 0b93725029
4 changed files with 6 additions and 6 deletions

View File

@ -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 '<tr>
<td>Lat / Lng</td>