1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-19 12:11:26 +02:00

Merge pull request #351 from chrisnharvey/patch-1

Return array of iptc keywords instead of just the first
This commit is contained in:
Oliver Vogel
2015-04-14 22:20:21 +02:00

View File

@@ -33,7 +33,7 @@ class IptcCommand extends AbstractCommand
$data['Urgency'] = isset($iptc["2#010"][0]) ? $iptc["2#010"][0] : null;
$data['Category'] = isset($iptc["2#015"][0]) ? $iptc["2#015"][0] : null;
$data['Subcategories'] = isset($iptc["2#020"][0]) ? $iptc["2#020"][0] : null;
$data['Keywords'] = isset($iptc["2#025"][0]) ? $iptc["2#025"][0] : null;
$data['Keywords'] = isset($iptc["2#025"][0]) ? $iptc["2#025"] : null;
$data['SpecialInstructions'] = isset($iptc["2#040"][0]) ? $iptc["2#040"][0] : null;
$data['CreationDate'] = isset($iptc["2#055"][0]) ? $iptc["2#055"][0] : null;
$data['AuthorByline'] = isset($iptc["2#080"][0]) ? $iptc["2#080"][0] : null;
@@ -59,4 +59,4 @@ class IptcCommand extends AbstractCommand
return true;
}
}
}