Typo fixing #1
This commit is contained in:
parent
981af6c421
commit
788dd023c3
|
@ -43,7 +43,7 @@ function getNGGalleryImages( $ngGalleries, $ngImages, $dt, $lat, $lon, $dtoffset
|
||||||
if ( is_callable( 'exif_read_data' ) ) {
|
if ( is_callable( 'exif_read_data' ) ) {
|
||||||
$exif = @exif_read_data( $p->imagePath );
|
$exif = @exif_read_data( $p->imagePath );
|
||||||
if ( $exif !== false ) {
|
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;
|
getExifGps( $exif['GPSLongitude'], $exif['GPSLongitudeRef'] ) : 0;
|
||||||
$item['lat'] = (array_key_exists('GPSLatitude', $exif) and array_key_exists('GPSLatitudeRef', $exif)) ?
|
$item['lat'] = (array_key_exists('GPSLatitude', $exif) and array_key_exists('GPSLatitudeRef', $exif)) ?
|
||||||
getExifGps( $exif['GPSLatitude'], $exif['GPSLatitudeRef'] ) : 0;
|
getExifGps( $exif['GPSLatitude'], $exif['GPSLatitudeRef'] ) : 0;
|
||||||
|
|
Loading…
Reference in New Issue