Skip to content

Commit

Permalink
Merge pull request #24 from dpgover/patch-1
Browse files Browse the repository at this point in the history
Update MaxMind driver: Missing longitude.
  • Loading branch information
stevebauman committed Dec 1, 2015
2 parents 7fa0a55 + 18596a8 commit 7a9fdaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Drivers/MaxMind.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ public function get($ip)

$location->latitude = $record->location->latitude;

$location->longitude = $record->location->longitude;

$location->driver = get_class($this);
} catch (\Exception $e) {
$location->error = true;
Expand Down

0 comments on commit 7a9fdaa

Please sign in to comment.