Skip to content

Commit

Permalink
Fix for Ticket ushahidi#1387 - Swapped Geotag Data as per https://git…
Browse files Browse the repository at this point in the history
  • Loading branch information
fl02 committed Sep 26, 2016
1 parent c8fe14d commit f581b17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/scheduler/s_twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ private function add_hash_tweets($data)
$tweet_lon = null;
if ($tweet->{'coordinates'} != null)
{
$tweet_lat = $tweet->{'coordinates'}->coordinates[0];
$tweet_lon = $tweet->{'coordinates'}->coordinates[1];
$tweet_lat = $tweet->{'coordinates'}->coordinates[1];
$tweet_lon = $tweet->{'coordinates'}->coordinates[0];
}

// Save Tweet as Message
Expand Down

0 comments on commit f581b17

Please sign in to comment.