From d0fb65b6beba3d46bd85d3884ee3baf7be4af506 Mon Sep 17 00:00:00 2001 From: ggoffy Date: Sat, 23 May 2020 16:32:52 +0200 Subject: [PATCH] - fixed bug in extract exif --- class/ImagesHandler.php | 2 +- docs/changelog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/class/ImagesHandler.php b/class/ImagesHandler.php index f6cfd8c..a94351f 100644 --- a/class/ImagesHandler.php +++ b/class/ImagesHandler.php @@ -166,7 +166,7 @@ public function exifExtractTags($exifs, $exif_tags) { $ret = ''; - if (is_array($exifs)) { + if (is_object($exifs) || is_array($exifs)) { foreach ($exifs as $key => $value) { if (in_array($key, $exif_tags)) { if (is_array($value)) { diff --git a/docs/changelog.txt b/docs/changelog.txt index 61c238c..056e8c9 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -21,6 +21,7 @@ - fixed perm for album list in image editor (lupin/goffy) - fixed perm bug for moving image from one to another album (lupin/goffy) - fixed bug in nested sorting (lupin/goffy) + - fixed bug in extract exif (lupin/goffy)
1.14 RC1
[2019/11/09]