mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 16:42:59 +02:00
merge r6338 from branch 2.1 to trunk
bug 1694 fixed: COMPUTED Exif fields were not displayed on picture.php git-svn-id: http://piwigo.org/svn/trunk@6340 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -67,14 +67,14 @@ if (($conf['show_exif']) and (function_exists('read_exif_data')))
|
||||
else
|
||||
{
|
||||
$tokens = explode(';', $field);
|
||||
if (isset($exif[$tokens[0]][$tokens[1]]))
|
||||
if (isset($exif[$field]))
|
||||
{
|
||||
$key = $tokens[1];
|
||||
if (isset($lang['exif_field_'.$tokens[1]]))
|
||||
if (isset($lang['exif_field_'.$key]))
|
||||
{
|
||||
$key = $lang['exif_field_'.$tokens[1]];
|
||||
$key = $lang['exif_field_'.$key];
|
||||
}
|
||||
$tpl_meta['lines'][$key] = $exif[$tokens[0]][$tokens[1]];
|
||||
$tpl_meta['lines'][$key] = $exif[$field];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user