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)