Get command field if it is not defined in alert or action
This commit is contained in:
parent
51ca2de1e5
commit
72d57bc067
|
@ -1106,8 +1106,7 @@ sub pandora_execute_action ($$$$$$$$$;$) {
|
|||
$field20 = defined($alert->{'field20'}) && $alert->{'field20'} ne "" ? $alert->{'field20'} : $action->{'field20'};
|
||||
}
|
||||
|
||||
print Dumper($field1);
|
||||
|
||||
|
||||
# Recovery fields, thanks to Kato Atsushi
|
||||
if ($alert_mode == RECOVERED_ALERT) {
|
||||
# Field 1 is a special case where [RECOVER] prefix is not added even when it is defined
|
||||
|
|
Loading…
Reference in New Issue