mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Fixed problem of evaluation for last_execution by casting time() to integer.
This commit is contained in:
parent
bf0211c9b8
commit
767cb01185
@ -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…
x
Reference in New Issue
Block a user