fix: No closure
This commit is contained in:
parent
324edc5550
commit
528d9af4f6
2 changed files with 4 additions and 3 deletions
|
|
@ -398,9 +398,8 @@ sub getLineage {
|
|||
|
||||
my $statusCodes = $rules->{statusToInclude} || [];
|
||||
if($rules->{includeArchived}) {
|
||||
if(!WebGUI::Utility::isIn($rules->{includeArchived},@{$statusCodes})) {
|
||||
push(@{$statusCodes},'archived');
|
||||
}
|
||||
push(@{$statusCodes},'archived') if(!WebGUI::Utility::isIn('archived',@{$statusCodes}));
|
||||
push(@{$statusCodes},'approved') if(!WebGUI::Utility::isIn('approved',@{$statusCodes}));
|
||||
}
|
||||
|
||||
my $status = "assetData.status='approved'";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue