From 6b3afb5eecca2964222e8dc09ddfae86e802c2f4 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 17 Mar 2015 00:53:24 -0700 Subject: get the correct hemisphere for geotagged photos --- include/photos.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/photos.php') diff --git a/include/photos.php b/include/photos.php index 4d3f4c755..c4d5a33aa 100644 --- a/include/photos.php +++ b/include/photos.php @@ -209,8 +209,8 @@ function photo_upload($channel, $observer, $args) { if($exif && $exif['GPS']) { if(feature_enabled($channel_id,'photo_location')) { - $lat = getGps($exif['GPS']['GPSLatitude'], $exif['GPSLatitudeRef']); - $lon = getGps($exif['GPS']['GPSLongitude'], $exif['GPSLongitudeRef']); + $lat = getGps($exif['GPS']['GPSLatitude'], $exif['GPS']['GPSLatitudeRef']); + $lon = getGps($exif['GPS']['GPSLongitude'], $exif['GPS']['GPSLongitudeRef']); } } -- cgit v1.2.3