Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainar committed Jun 1, 2016
1 parent 5df6133 commit aab53e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}
} else {
// Else it's long/lat
if (!(is_numeric($user_longitude) && is_numeric($user_latitude))) {
if (!(is_numeric($_GET['lat']) && is_numeric($_GET['long']))) {
$error = 'Error : latitude and longitude should be numeric values.';
}

Expand Down

0 comments on commit aab53e4

Please sign in to comment.