aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-17 00:53:24 -0700
committerfriendica <info@friendica.com>2015-03-17 00:53:24 -0700
commit6b3afb5eecca2964222e8dc09ddfae86e802c2f4 (patch)
tree2a9150b9e6d51efc2e96b6bf8f679c0e8cb08ccf
parentfab8209ebd4a052f8af5918de8603fd21a4bc7a6 (diff)
downloadvolse-hubzilla-6b3afb5eecca2964222e8dc09ddfae86e802c2f4.tar.gz
volse-hubzilla-6b3afb5eecca2964222e8dc09ddfae86e802c2f4.tar.bz2
volse-hubzilla-6b3afb5eecca2964222e8dc09ddfae86e802c2f4.zip
get the correct hemisphere for geotagged photos
-rw-r--r--include/photos.php4
1 files changed, 2 insertions, 2 deletions
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']);
}
}