From c349b9fe09945009d7c6bc9e542f283f1f175ae3 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Fri, 19 Dec 2014 21:39:43 +0100 Subject: [PATCH] Fixed incorrect focal length #277 --- php/modules/Photo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/modules/Photo.php b/php/modules/Photo.php index 70a3c64..ec1f138 100755 --- a/php/modules/Photo.php +++ b/php/modules/Photo.php @@ -656,10 +656,10 @@ class Photo extends Module { if (isset($temp)) $return['model'] = trim($temp); $temp = @$exif['ExposureTime']; - if (isset($temp)) $return['shutter'] = $exif['ExposureTime'] . ' Sec.'; + if (isset($temp)) $return['shutter'] = $exif['ExposureTime'] . ' s'; $temp = @$exif['FocalLength']; - if (isset($temp)) $return['focal'] = ($temp/1) . ' mm'; + if (isset($temp)) $return['focal'] = $temp . ' mm'; $temp = @$exif['DateTimeOriginal']; if (isset($temp)) $return['takestamp'] = strtotime($temp);