Browse Source

Correction of Focal data extraction

Quentin Ligier 8 years ago
parent
commit
8b25259ed4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/Modules/Photo.php

+ 1 - 1
php/Modules/Photo.php

@@ -809,7 +809,7 @@ final class Photo {
 					$temp = round($temp, 1);
 					$return['focal'] = $temp . ' mm';
 				}
-				$return['focal'] = $exif['FocalLength'] . ' mm';
+				else $return['focal'] = $exif['FocalLength'] . ' mm';
 			}
 
 			if (!empty($exif['DateTimeOriginal'])) $return['takestamp'] = strtotime($exif['DateTimeOriginal']);