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.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/include/functions_metadata.php b/admin/include/functions_metadata.php
index 1bbd87e8f..7f9b516b0 100644
--- a/admin/include/functions_metadata.php
+++ b/admin/include/functions_metadata.php
@@ -97,6 +97,11 @@ function get_sync_exif_data($file)
{
$exif[$pwg_key] = $matches[1].'-'.$matches[2].'-'.$matches[3];
}
+ else
+ {
+ unset($exif[$pwg_key]);
+ continue;
+ }
}
$exif[$pwg_key] = addslashes($exif[$pwg_key]);
}