str comparation

This commit is contained in:
fbsanchez 2022-03-02 12:13:20 +01:00
parent 3aaa868155
commit 9c3a6665eb
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'} ne '') {
$schedule = PandoraFMS::Tools::p_decode_json($pa_config, $alert->{'schedule'});
}