aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2010-04-26 13:46:53 -0300
committerSilvio <s1lv10@uol.com.br>2010-04-26 13:46:53 -0300
commitcd206a43bcfc3197fc373636e9b7ab0c98aa7239 (patch)
treecdd5abf27111574173f060e1928509ac37f8b8b3
parent4ad6d1ad64e70691e83142ba98b79647d96caba4 (diff)
downloadexif-cd206a43bcfc3197fc373636e9b7ab0c98aa7239.tar.gz
exif-cd206a43bcfc3197fc373636e9b7ab0c98aa7239.tar.bz2
Minor fixes
-rw-r--r--exif.class.php4
1 files 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']);