diff --git a/centreon-plugins/apps/voip/3cx/restapi/mode/system.pm b/centreon-plugins/apps/voip/3cx/restapi/mode/system.pm index c0356bae6..d9d04ae6a 100644 --- a/centreon-plugins/apps/voip/3cx/restapi/mode/system.pm +++ b/centreon-plugins/apps/voip/3cx/restapi/mode/system.pm @@ -128,11 +128,11 @@ sub manage_selection { } $self->{service}->{HasNotRunningServices} = { display => 'HasNotRunningServices', - health => $self->{system}->{HasNotRunningServices} ? 'false' : 'true', + health => $system->{HasNotRunningServices} ? 'false' : 'true', }; $self->{service}->{HasUnregisteredSystemExtensions} = { display => 'HasUnregisteredSystemExtensions', - health => $self->{system}->{HasUnregisteredSystemExtensions} ? 'false' : 'true', + health => $system->{HasUnregisteredSystemExtensions} ? 'false' : 'true', }; $self->{global} = {