From 20e22d277799f0c397de88d90675458e280b4ce3 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Sun, 17 Apr 2016 21:45:51 +0200 Subject: [PATCH] Correction of photo tag formatting --- php/Modules/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/Modules/Photo.php b/php/Modules/Photo.php index 00f64e8..bb4f5e0 100755 --- a/php/Modules/Photo.php +++ b/php/Modules/Photo.php @@ -767,7 +767,7 @@ final class Photo { if (!empty($iptcInfo['2#120'][0])) $return['description'] = $iptcInfo['2#120'][0]; // Tags - if (!empty($iptcInfo['2#025'])) $return['tags'] = str_replace('; ', ',', $iptcInfo['2#025']); + if (!empty($iptcInfo['2#025'])) $return['tags'] = implode(',', $iptcInfo['2#025']); // Position $fields = array();