2010-01-12 Pablo de la Concepción <pablo.concepcion@artica.es>

* 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
This commit is contained in:
Pablo de la Concepción Sanz 2010-01-12 18:34:57 +00:00
parent 3cbf275395
commit a89d536b36
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,8 @@
2010-01-12 Pablo de la Concepcipón <pablo.concepcion@artica.es> 2010-01-12 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a bug introduced in last commmit
2010-01-12 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/DataServer.pm: Updated to process GIS information from * lib/PandoraFMS/DataServer.pm: Updated to process GIS information from
the .data (altitude, latitude, longitude and timezone_offset). the .data (altitude, latitude, longitude and timezone_offset).

View File

@ -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 = ?', 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);
} }
########################################################################## ##########################################################################