Config Conversion: always add type NotificationFilterProblem.

This commit is contained in:
Michael Friedrich 2013-08-29 14:39:58 +02:00
parent 1742f3273e
commit de159b0133

View File

@ -845,6 +845,10 @@ sub convert_notification_options_to_filter {
push @{$filter->{'type'}}, 0;
return $filter;
}
# always add NotificationFilterProblem
push @{$filter->{'type'}}, 'NotificationFilterProblem';
if (grep /a/, @options) {
foreach my $by (keys %{$filter_by}) {
push @{$filter->{$filter_by->{$by}}}, $filter_names->{$by};