2010-05-07 Sancho Lerena <slerena@artica.es>

* lib/PandoraFMS/DataServer.pm: Fixed call to undefined variable
        on GIS code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2010-05-07 16:29:52 +00:00
parent cfa2f9be11
commit cba77b4e1b
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-05-07 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed call to undefined variable
on GIS code.
2010-05-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Use the data timestamp instead of the

View File

@ -277,6 +277,9 @@ sub process_xml_data ($$$$$) {
$AgentSem->up ();
if ($valid_position_data == 1 && $pa_config->{'activate_gis'} != 0) {
if (!defined($parent_agent_name)){
$parent_agent_name = "";
}
logger($pa_config,"Parent_agent_name $parent_agent_name",10);
if ($pa_config->{'update_parent'} == 1 && $parent_id != 0) {
logger($pa_config,"Parent_agent_name $parent_agent_name",10);