From 1786cac8b0a55cd8a892a206236c3e377e213c7e Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 5 Apr 2014 19:33:48 +0000 Subject: when displaying iptc metadata, add a space between iptc keywords (if there are many, the html line is unbreakable) git-svn-id: http://piwigo.org/svn/trunk@28089 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_metadata.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/functions_metadata.inc.php') diff --git a/include/functions_metadata.inc.php b/include/functions_metadata.inc.php index fc74e2aec..e19b82423 100644 --- a/include/functions_metadata.inc.php +++ b/include/functions_metadata.inc.php @@ -33,7 +33,7 @@ * @param array $map * @return array */ -function get_iptc_data($filename, $map) +function get_iptc_data($filename, $map, $array_sep=',') { global $conf; @@ -57,7 +57,7 @@ function get_iptc_data($filename, $map) { if ($iptc_key == '2#025') { - $value = implode(',', + $value = implode($array_sep, array_map('clean_iptc_value',$iptc[$iptc_key])); } else -- cgit v1.2.3