From 51f5d4a1850925e6bdf0baab0ee62658aa836ae7 Mon Sep 17 00:00:00 2001 From: Chris Harvey Date: Tue, 14 Apr 2015 20:15:49 +0100 Subject: [PATCH] Return array of iptc keywords instead of just the first --- src/Intervention/Image/Commands/IptcCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Intervention/Image/Commands/IptcCommand.php b/src/Intervention/Image/Commands/IptcCommand.php index 2691c448..db45c93f 100644 --- a/src/Intervention/Image/Commands/IptcCommand.php +++ b/src/Intervention/Image/Commands/IptcCommand.php @@ -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; } -} \ No newline at end of file +}