This commit is contained in:
garnier-quentin 2020-07-28 10:32:02 +02:00
parent b9e235cc97
commit e80bf3b128
1 changed files with 1 additions and 1 deletions
centreon-plugins/centreon/plugins/templates

View File

@ -162,7 +162,7 @@ sub check_options {
}
}
$self->{overload_th} = {};
$self->{overload_th} = [];
foreach my $val (@{$self->{option_results}->{threshold_overload}}) {
next if (!defined($val) || $val eq '');
my @values = split (/,/, $val);