diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 0273f7a631..5a31f91a47 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2014-01-08 Ramon Novoa + + * lib/PandoraFMS/DataServer.pm: Fixed a typo that prevented timestamps in + datalists from being read. Fixes bug #2404. + 2014-01-06 Junichi Satoh * lib/PandoraFMS/Core.pm: Fixed that planned downtime is disabled diff --git a/pandora_server/lib/PandoraFMS/DataServer.pm b/pandora_server/lib/PandoraFMS/DataServer.pm index 7196dde749..3fb3f8dd4c 100644 --- a/pandora_server/lib/PandoraFMS/DataServer.pm +++ b/pandora_server/lib/PandoraFMS/DataServer.pm @@ -482,7 +482,7 @@ sub process_xml_data ($$$$$) { next unless defined ($data->{'value'}); $module_data->{'data'} = $data->{'value'}; - my $data_timestamp = get_tag_value ($module_data, 'timestamp', $timestamp); + my $data_timestamp = get_tag_value ($data, 'timestamp', $timestamp); process_module_data ($pa_config, $module_data, $server_id, $agent_name, $module_name, $module_type, $interval, $data_timestamp, $dbh); }