IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2007, 11:50:32 AM (19 years ago)
Author:
Paul Price
Message:

Missed a place where I had to add min and max.

File:
1 edited

Legend:

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

    r14434 r14442  
    11# Copyright (c) 2006  Paul Price, Joshua Hoblitt
    22#
    3 # $Id: Stats.pm,v 1.23 2007-08-08 20:39:15 price Exp $
     3# $Id: Stats.pm,v 1.24 2007-08-08 21:50:32 price Exp $
    44
    55package PS::IPP::Metadata::Stats;
     
    134134                $self->_null_for_type ($entry);
    135135            }
     136            next;
    136137        }
    137138
     
    145146                $self->_null_for_type ($entry);
    146147            }
     148            next;
    147149        }
    148150
     
    156158                $self->_null_for_type ($entry);
    157159            }
     160            next;
    158161        }
    159162
     
    167170                $self->_null_for_type ($entry);
    168171            }
     172            next;
    169173        }
    170174
     
    258262                next;
    259263            }
     264
     265            if ($type eq 'max' or $type eq 'min') {
     266                push @$data, $value;
     267                next;
     268            }
     269
    260270            carp "Unrecognised type (", $type, ") for value of ", $name, "\n";
    261271            exit($PS_EXIT_PROG_ERROR);
Note: See TracChangeset for help on using the changeset viewer.