IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2006, 11:49:28 AM (20 years ago)
Author:
jhoblitt
Message:

fix MULTI METADATA support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Metadata-Config/lib/PS/IPP/Metadata/Config.pm

    r3843 r7830  
    11# Copyright (c) 2005  Joshua Hoblitt
    22#
    3 # $Id: Config.pm,v 1.16 2005-05-04 22:09:28 jhoblitt Exp $
     3# $Id: Config.pm,v 1.17 2006-07-06 21:49:27 jhoblitt Exp $
    44
    55package PS::IPP::Metadata::Config;
     
    208208            } else {
    209209                $return = undef;
     210            }
     211
     212            if ( defined $thisparser->{local}{name}{ $item{metadata_name} } ) {
     213                $return->{multi}++
     214                    if $thisparser->{local}{name}{ $item{metadata_name} } =~ /MULTI/;
     215            } else {
     216                $thisparser->{local}{name}{ $item{metadata_name} }++;
    210217            }
    211218        }
Note: See TracChangeset for help on using the changeset viewer.