IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14658


Ignore:
Timestamp:
Aug 23, 2007, 2:58:50 PM (19 years ago)
Author:
Paul Price
Message:

Fixing type check.

File:
1 edited

Legend:

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

    r14575 r14658  
    11# Copyright (c) 2006  Paul Price, Joshua Hoblitt
    22#
    3 # $Id: Config.pm,v 1.64 2007-08-21 01:53:13 price Exp $
     3# $Id: Config.pm,v 1.65 2007-08-24 00:58:50 price Exp $
    44
    55package PS::IPP::Config;
     
    896896    foreach my $item (@$mdc) {
    897897        if ($item->{name} eq $name) {
    898             carp "$name within metadata is not of type BOOL.\n" unless $item->{class} eq "bool";
     898            carp "$name within metadata is not of type BOOL.\n" unless lc($item->{class}) eq "bool";
    899899            return $item->{value};
    900900        }
Note: See TracChangeset for help on using the changeset viewer.