From 788dd023c31eae1d48beda74d7a91b5b7e3ae510 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Mon, 11 May 2020 10:08:06 +0200 Subject: [PATCH] Typo fixing #1 --- wp-gpx-maps_utils_nggallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-gpx-maps_utils_nggallery.php b/wp-gpx-maps_utils_nggallery.php index 5ff0d43..a95c1d1 100644 --- a/wp-gpx-maps_utils_nggallery.php +++ b/wp-gpx-maps_utils_nggallery.php @@ -43,7 +43,7 @@ function getNGGalleryImages( $ngGalleries, $ngImages, $dt, $lat, $lon, $dtoffset if ( is_callable( 'exif_read_data' ) ) { $exif = @exif_read_data( $p->imagePath ); if ( $exif !== false ) { - $item['lon'] = (array_key_exists('GPSLongiture', $exif) and array_key_exists('GPSLongitudeRef', $exif)) ? + $item['lon'] = (array_key_exists('GPSLongitude', $exif) and array_key_exists('GPSLongitudeRef', $exif)) ? getExifGps( $exif['GPSLongitude'], $exif['GPSLongitudeRef'] ) : 0; $item['lat'] = (array_key_exists('GPSLatitude', $exif) and array_key_exists('GPSLatitudeRef', $exif)) ? getExifGps( $exif['GPSLatitude'], $exif['GPSLatitudeRef'] ) : 0;