defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
40d3e8e130
commit
1de4c70cec
@ -1139,7 +1139,7 @@ sub rmkit
|
||||
my $kitcompnames;
|
||||
my @kitcomphash = $tabs{kitcomponent}->getAllAttribsWhere( "kitname = '$kitname'", 'kitcompname');
|
||||
|
||||
if (defined(@entries) && (@entries > 0)) {
|
||||
if (@entries && (@entries > 0)) {
|
||||
|
||||
if($::VERBOSE){
|
||||
my %rsp;
|
||||
|
Loading…
Reference in New Issue
Block a user