From cd206a43bcfc3197fc373636e9b7ab0c98aa7239 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 26 Apr 2010 13:46:53 -0300 Subject: Minor fixes --- exif.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exif.class.php b/exif.class.php index 5ff9a52..944ac9d 100644 --- a/exif.class.php +++ b/exif.class.php @@ -211,8 +211,8 @@ Class Exif { if ($config['type'] == 'property') { $value = $xmpmeta->GetProperty($config['name'], $ns); } - elseif ($config['type' == 'array') { - $value = $xmpmeta->GetArrayItem($config['name', $key, $ns); + elseif ($config['type'] == 'array') { + $value = $xmpmeta->GetArrayItem($config['name'], $key, $ns); } elseif ($config['type'] == 'struct') { $value = $xmpmeta->GetStructField($ns, $config['struct'], $ns, $config['name']); -- cgit v1.2.3