diff --git a/lib/Db/LivePhoto.php b/lib/Db/LivePhoto.php index 87839b269..842e1bb3e 100644 --- a/lib/Db/LivePhoto.php +++ b/lib/Db/LivePhoto.php @@ -92,7 +92,7 @@ public function getLivePhotoId(File $file, array $exif) return 'self__trailer'; } - else if ('image/heic' === $exif['MIMEType']) { + if ('image/heic' === $exif['MIMEType']) { // Samsung HEIC -- no way to get this out yet (DirectoryItemLength is senseless) // The reason this is above the MotionPhotoVideo check is because extracting binary // EXIF fields on the fly is extremely expensive compared to trailer extraction.