diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 3bc86328c3..5ddab07972 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,4 +1,8 @@ -2010-01-12 Pablo de la Concepcipón +2010-01-12 Pablo de la Concepción + + * lib/PandoraFMS/Core.pm: Fixed a bug introduced in last commmit + +2010-01-12 Pablo de la Concepción * lib/PandoraFMS/DataServer.pm: Updated to process GIS information from the .data (altitude, latitude, longitude and timezone_offset). diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index b2071d439c..ef57e2b1a0 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -727,7 +727,7 @@ sub pandora_update_agent ($$$$$$$$) { } db_do ($dbh, 'UPDATE tagente SET intervalo = ?, agent_version = ?, ultimo_contacto_remoto = ?, ultimo_contacto = ?, os_version = ?, timezone_offset = ? WHERE id_agente = ?', - $agent_interval, $agent_version, $agent_timestamp, $timestamp, $os_version, $agent_id, $timezone_offset); + $agent_interval, $agent_version, $agent_timestamp, $timestamp, $os_version, $timezone_offset, $agent_id); } ##########################################################################