errata fix0

This commit is contained in:
fbsanchez 2022-03-02 12:09:13 +01:00
parent f34722841f
commit 3aaa868155
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ sub pandora_evaluate_alert ($$$$$$$;$$$$) {
}
my $schedule;
if (defined($alert->{'schedule'} && $alert->{'schedule'} != '')) {
if (defined($alert->{'schedule'}) && $alert->{'schedule'} != '') {
$schedule = PandoraFMS::Tools::p_decode_json($pa_config, $alert->{'schedule'});
}