aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_metadata.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/functions_metadata.php')
-rw-r--r--admin/include/functions_metadata.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/include/functions_metadata.php b/admin/include/functions_metadata.php
index a4d5588d4..2d0226c88 100644
--- a/admin/include/functions_metadata.php
+++ b/admin/include/functions_metadata.php
@@ -141,11 +141,14 @@ SELECT id
if ($conf['use_exif'])
{
$exif = get_sync_exif_data($file);
+ $data = array_merge($data, $exif);
}
if ($conf['use_iptc'])
{
$iptc = get_sync_iptc_data($file);
+ $data = array_merge($data, $iptc);
+
if (count($iptc) > 0)
{
foreach (array_keys($iptc) as $key)