From 8d13d9de91e8ca7ee2416f1a9b82429626bfec61 Mon Sep 17 00:00:00 2001 From: rcquan Date: Wed, 13 Aug 2014 17:56:02 -0400 Subject: [PATCH 1/2] Fix for Issue #1387 Swapped latitude and longitude coordinates to get plot correct geotag location on map. --- application/controllers/scheduler/s_twitter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/scheduler/s_twitter.php b/application/controllers/scheduler/s_twitter.php index 3dd62b02c3..2433932b68 100644 --- a/application/controllers/scheduler/s_twitter.php +++ b/application/controllers/scheduler/s_twitter.php @@ -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 From 48fb6446de5cbe40fc067132c94c76ff4f8d24f4 Mon Sep 17 00:00:00 2001 From: rcquan Date: Wed, 13 Aug 2014 17:56:47 -0400 Subject: [PATCH 2/2] subproject commit subproject commit --- application/i18n | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/i18n b/application/i18n index fc788997a2..8acd68e891 160000 --- a/application/i18n +++ b/application/i18n @@ -1 +1 @@ -Subproject commit fc788997a2e8a16917da4f96bd9f9856c40bbcd4 +Subproject commit 8acd68e891a13a385ab24e66a56795d2dc0f5c3f