diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 3e1e3489c4..0bd1a3555e 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2012-04-28 Junichi Satoh + + * lib/PandoraFMS/Core.pm: Added a missing argument to process_data() + call. + 2012-04-26 Sergio Martin * lib/PandoraFMS/Core.pm: Added call to delete the agent diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 903f0e0383..3237f1d6b1 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -881,7 +881,7 @@ sub pandora_process_module ($$$$$$$$$;$) { } # Process data - my $processed_data = process_data ($data_object, $module, $module_type, $utimestamp, $dbh); + my $processed_data = process_data ($pa_config, $data_object, $module, $module_type, $utimestamp, $dbh); if (! defined ($processed_data)) { logger($pa_config, "Received invalid data '" . $data_object->{'data'} . "' from agent '" . $agent->{'nombre'} . "' module '" . $module->{'nombre'} . "' agent " . (defined ($agent) ? "'" . $agent->{'nombre'} . "'" : 'ID ' . $module->{'id_agente'}) . ".", 3); pandora_update_module_on_error ($pa_config, $module, $dbh);