From 94ef48d53603a492a2fb2341d54ec2ab0395819f Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 12 Mar 2009 17:54:44 +0000 Subject: [PATCH] remove value check, if attribute value was 0, then check was failing git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index e2ffd4169..7d5f7283d 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -543,7 +543,7 @@ sub get_site_attribute if ($sitetab) { (my $ref) = $sitetab->getAttribs({key => $attr}, 'value'); - if ($ref and $ref->{value}) + if ($ref) { $values = $ref->{value}; }