Changeset 6338


Ignore:
Timestamp:
May 24, 2010, 10:07:33 PM (10 years ago)
Author:
plg
Message:

bug 1694 fixed: COMPUTED Exif fields were not displayed on picture.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/include/picture_metadata.inc.php

    r6093 r6338  
    6868      {
    6969        $tokens = explode(';', $field);
    70         if (isset($exif[$tokens[0]][$tokens[1]]))
     70        if (isset($exif[$field]))
    7171        {
    7272          $key = $tokens[1];
    73           if (isset($lang['exif_field_'.$tokens[1]]))
     73          if (isset($lang['exif_field_'.$key]))
    7474          {
    75             $key = $lang['exif_field_'.$tokens[1]];
     75            $key = $lang['exif_field_'.$key];
    7676          }
    77           $tpl_meta['lines'][$key] = $exif[$tokens[0]][$tokens[1]];
     77          $tpl_meta['lines'][$key] = $exif[$field];
    7878        }
    7979      }
Note: See TracChangeset for help on using the changeset viewer.