aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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']);