projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e510de
)
Not every exif driver requrires a params array
author
Michael Rubinsky
<mrubinsk@yosemite.localdomain>
Mon, 21 Sep 2009 02:38:01 +0000
(22:38 -0400)
committer
Michael Rubinsky
<mrubinsk@yosemite.localdomain>
Mon, 21 Sep 2009 02:38:01 +0000
(22:38 -0400)
ansel/lib/Image.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Image.php
b/ansel/lib/Image.php
index
d179552
..
a2dcf54
100644
(file)
--- a/
ansel/lib/Image.php
+++ b/
ansel/lib/Image.php
@@
-566,7
+566,7
@@
class Ansel_Image
if (is_a($imageFile, 'PEAR_Error')) {
return $imageFile;
}
- $exif = Horde_Image_Exif::factory($GLOBALS['conf']['exif']['driver'],
$GLOBALS['conf']['exif']['params']
);
+ $exif = Horde_Image_Exif::factory($GLOBALS['conf']['exif']['driver'],
!empty($GLOBALS['conf']['exif']['params']) ? $GLOBALS['conf']['exif']['params'] : array()
);
$exif_fields = $exif->getData($imageFile);
/* Flag to determine if we need to resave the image data */