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
This commit is contained in:
parent
9bb8b87682
commit
94ef48d536
@ -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};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user