Merge branch 'fix-alert-action' into 'develop'
Fixed problem of evaluation for last alert execution. See merge request artica/pandorafms!3061
This commit is contained in:
commit
4284c83f18
|
@ -1563,7 +1563,7 @@ sub pandora_execute_action ($$$$$$$$$;$) {
|
|||
# Update action last execution date
|
||||
if (defined ($action->{'last_execution'}) && defined ($action->{'id_alert_templ_module_actions'})) {
|
||||
db_do ($dbh, 'UPDATE talert_template_module_actions SET last_execution = ?
|
||||
WHERE id = ?', time (), $action->{'id_alert_templ_module_actions'});
|
||||
WHERE id = ?', int(time ()), $action->{'id_alert_templ_module_actions'});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue