From 247b1a118b5743c618c43875a1d70fb580e48a16 Mon Sep 17 00:00:00 2001 From: ramonn Date: Thu, 24 Feb 2011 10:12:12 +0000 Subject: [PATCH] 2011-02-24 Ramon Novoa * lib/PandoraFMS/WMIServer.pm: Fixed a typo. Thanks to Tadashi Kaneda. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 4 ++++ pandora_server/lib/PandoraFMS/WMIServer.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index d38f14234e..9904e03cc2 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2011-02-24 Ramon Novoa + + * lib/PandoraFMS/WMIServer.pm: Fixed a typo. Thanks to Tadashi Kaneda. + 2011-02-23 Ramon Novoa * lib/PandoraFMS/Core.pm: HTML encode events. diff --git a/pandora_server/lib/PandoraFMS/WMIServer.pm b/pandora_server/lib/PandoraFMS/WMIServer.pm index b48f183fbc..a6c7c3d35a 100644 --- a/pandora_server/lib/PandoraFMS/WMIServer.pm +++ b/pandora_server/lib/PandoraFMS/WMIServer.pm @@ -89,7 +89,7 @@ sub data_producer ($) { my @rows; if ($pa_config->{'pandora_master'} != 1) { - @rows = get_db_rows ($dbh, 'SELECT tagente_modulo.id_agente_modulo, tagente_modulo.flag UNIX_TIMESTAMP() - tagente_estado.current_interval - tagente_estado.last_execution_try AS time_left + @rows = get_db_rows ($dbh, 'SELECT tagente_modulo.id_agente_modulo, tagente_modulo.flag, UNIX_TIMESTAMP() - tagente_estado.current_interval - tagente_estado.last_execution_try AS time_left FROM tagente, tagente_modulo, tagente_estado WHERE server_name = ? AND tagente_modulo.id_agente = tagente.id_agente