Browse Source

Correction of photo tag formatting

Quentin Ligier 8 years ago
parent
commit
20e22d2777
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/Modules/Photo.php

+ 1 - 1
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();