Typo fixing #1

This commit is contained in:
Eric van der Vlist 2020-05-11 10:08:06 +02:00
parent 981af6c421
commit 788dd023c3
1 changed files with 1 additions and 1 deletions

View File

@ -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;