fix(3cx): Typo (#2882)

This commit is contained in:
UrBnW 2021-06-16 14:45:58 +02:00 committed by GitHub
parent 78003b1100
commit ed5c34ebc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ sub manage_selection {
error => $system->{HasUnregisteredSystemExtensions} ? 'true' : 'false',
};
my $updates = 0;
foreach my $category (@$update) {
foreach my $item (@$update) {
if (defined($self->{option_results}->{filter_category}) && $self->{option_results}->{filter_category} ne '' &&
$item->{Category} !~ /$self->{option_results}->{filter_category}/) {
$self->{output}->output_add(long_msg => "skipping update '" . $item->{Category} . "': no matching filter.", debug => 1);