aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2010-04-26 16:34:02 -0300
committerSilvio <s1lv10@uol.com.br>2010-04-26 16:34:02 -0300
commitd4660e686b19d5bf50c12c35e9ff9f388ec41ad0 (patch)
tree3426c14b4cd787945e037967642da09b14f5f699
parent460d97857d33baeeed00abdc3c4241ba3b279135 (diff)
downloadexif-d4660e686b19d5bf50c12c35e9ff9f388ec41ad0.tar.gz
exif-d4660e686b19d5bf50c12c35e9ff9f388ec41ad0.tar.bz2
Minor fix
-rw-r--r--exif.class.php7
1 files 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(