Ignore:
Timestamp:
Sep 21, 2010, 9:12:44 PM (14 years ago)
Author:
grum
Message:

fix small bugs not referenced + bug:1870

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/JpegMetaData/JpegMetaData.class.php

    r6949 r6986  
    6868 * |         |            |
    6969 * |         |            | * mantis bug:1859
    70  * |         |            |   . JpegMetadata class can't manage multiple IPTC
     70 * |         |            |   . JpegMetadata class can't manage multiple IPTC keywords
    7171 * |         |            |     keywords
    7272 * |         |            |
    73  * |         |            | * mantis bug:1861
    74  * |         |            |   . Accentued chars from ISO-8859-1 charset are not
    75  * |         |            |     recognized
     73 * |         |            | * mantis bug:1870
     74 * |         |            |   . Xmp ISOSpeedRatings was not interpreted by
     75 * |         |            |     'Magic' metadata
     76 * |         |            |
    7677 * |         |            |
    7778 * |         |            |
     
    628629
    629630    /**
    630      * MagicTags are build with this function
     631     * MagicTags are built with this function
    631632     */
    632633    protected function processMagicTags()
     
    650651          if($found)
    651652          {
    652             $returned=trim(preg_replace_callback(
     653            $returned=trim(
     654              preg_replace_callback(
    653655                '/{([a-z0-9:\.\s\/\[\]]*)}/i',
    654656                Array(&$this, "processMagicTagsCB"),
    655657                $val['tagValues'][$i]
    656             ));
     658              )
     659            );
    657660
    658661            $returned=$this->processSpecialMagicTag($key, $returned);
     
    718721        }
    719722      }
    720 
    721723      if($label instanceof DateTime)
    722724        return($label->format("Y-m-d H:i:s"));
     
    725727
    726728      if(is_array($label))
     729      {
    727730        return(implode(", ", $label));
     731      }
    728732
    729733      return(trim($label));
Note: See TracChangeset for help on using the changeset viewer.