diff --git a/centreon/plugins/templates/hardware.pm b/centreon/plugins/templates/hardware.pm index be99935fb..c1df3fddd 100644 --- a/centreon/plugins/templates/hardware.pm +++ b/centreon/plugins/templates/hardware.pm @@ -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);