diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index f709eee7cd..30fa8fdc0e 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2011-06-16 Ramon Novoa + + * lib/PandoraFMS/Core.pm: Fixed a typo. + 2011-06-15 Koichiro Kikuchi * lib/PandoraFMS/Tools.pm: Added FreeBSD specific code to load_average() diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 8993461265..dd2175a948 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -756,7 +756,7 @@ sub pandora_execute_action ($$$$$$$$$;$) { # Update action last execution date if (defined ($action->{'last_execution'}) && defined ($action->{'id'})) { - db_do ($dbh, 'UPDATE talert_template_module_actions SET last_execution = ? WHERE id = ?', time (), $alert->{'id'}); + db_do ($dbh, 'UPDATE talert_template_module_actions SET last_execution = ? WHERE id = ?', time (), $action->{'id'}); } }