From d4660e686b19d5bf50c12c35e9ff9f388ec41ad0 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 26 Apr 2010 16:34:02 -0300 Subject: Minor fix --- exif.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/exif.class.php b/exif.class.php index 9ab080f..267a42a 100644 --- a/exif.class.php +++ b/exif.class.php @@ -133,8 +133,9 @@ Class Exif { */ public function readXMPTags($file, $arTagNames=array()) { // Get a CCK-XMP mapping. - $map = $this->getXMPFields(); - $xmp = $this->openXMP($file); + $map = $this->getXMPFields(); + $xmp = $this->openXMP($file); + $info = array(); // Iterate over XMP fields defined by CCK. foreach ($arTagNames as $tagName) { @@ -358,7 +359,7 @@ Class Exif { ), 'hierarchicalsubject' => array( 'name' => 'hierarchicalSubject', - 'ns' => 'lr', + 'ns' => 'http://ns.adobe.com/lightroom/1.0/', 'type' => 'array', ), 'location' => array( -- cgit v1.2.3