From 4a4bfe9bf551ae8ff8cce8ccd6247833b5dc39c1 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Mon, 17 Dec 2012 11:05:50 +0000 Subject: [PATCH] 2012-12-17 Sergio Martin * lib/PandoraFMS/DataServer.pm: Unset a missed data of the parameters hash when create module on dataserver git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7286 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/lib/PandoraFMS/DataServer.pm | 1 + 2 files changed, 6 insertions(+) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index bacf2b2b58..28a5a53d30 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2012-12-17 Sergio Martin + + * lib/PandoraFMS/DataServer.pm: Unset a missed data of the + parameters hash when create module on dataserver + 2012-12-13 Sergio Martin * conf/pandora_server.conf diff --git a/pandora_server/lib/PandoraFMS/DataServer.pm b/pandora_server/lib/PandoraFMS/DataServer.pm index e671f5fc75..a7dff76683 100644 --- a/pandora_server/lib/PandoraFMS/DataServer.pm +++ b/pandora_server/lib/PandoraFMS/DataServer.pm @@ -540,6 +540,7 @@ sub process_module_data ($$$$$$$$$) { # Delete tags that will not be stored in tagente_modulo delete $module_conf->{'data'}; delete $module_conf->{'type'}; + delete $module_conf->{'datalist'}; # Description XML tag and column name don't match $module_conf->{'descripcion'} = $module_conf->{'description'};