aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_metadata.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_metadata.inc.php')
-rw-r--r--include/functions_metadata.inc.php4
1 files changed, 2 insertions, 2 deletions
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