bug 1380: now correctly synchronizes metadata on a single photo, needs a nicer
fix on trunk. git-svn-id: http://piwigo.org/svn/branches/2.0@4680 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
93822184ce
commit
a6780831fe
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue