From a89d536b36306f08f3059fca982d304979a8a881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20de=20la=20Concepci=C3=B3n=20Sanz?= Date: Tue, 12 Jan 2010 18:34:57 +0000 Subject: [PATCH] =?UTF-8?q?2010-01-12=20=20Pablo=20de=20la=20Concepci?= =?UTF-8?q?=C3=B3n=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lib/PandoraFMS/Core.pm: Fixed a bug introduced in last commmit git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 6 +++++- pandora_server/lib/PandoraFMS/Core.pm | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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); } ##########################################################################