diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 689cd2122a..6abacb2429 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -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'}); } }