From: Michael J. Rubinsky Date: Thu, 13 Aug 2009 20:22:21 +0000 (-0400) Subject: Evidently an array type in exif can still be returned as a string... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=eccc5e5d1dc4beb418d355fc6610d58e48f73c44;p=horde.git Evidently an array type in exif can still be returned as a string... --- diff --git a/framework/Image/lib/Horde/Image/Exif/Base.php b/framework/Image/lib/Horde/Image/Exif/Base.php index 7fd732c9d..4cd8a200a 100644 --- a/framework/Image/lib/Horde/Image/Exif/Base.php +++ b/framework/Image/lib/Horde/Image/Exif/Base.php @@ -78,7 +78,9 @@ abstract class Horde_Image_Exif_Base } if ($data['type'] == 'array') { - $value = implode(',', $value); + if (is_array($value)) { + $value = implode(',', $value); + } } $results[$field] = $value; }