2013-01-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* lib/PandoraFMS/PredictionServer.pm: Fixed prediction modules.
	
	Bug id: #3599200



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2013-01-09 10:37:20 +00:00
parent 620981e9d1
commit 1effa7b63f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-01-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Fixed prediction modules.
Bug id: #3599200
2013-01-08 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_db.pl: fixed the SQL query for the checking modules

View File

@ -188,7 +188,7 @@ sub exec_prediction_module ($$$$) {
}
# Get a full hash for target agent_module record reference ($target_module)
my $target_module = get_db_single_row ($dbh, 'SELECT * FROM tagente_modulo WHERE id_agente_modulo = ?', $agent_module->{'prediction_module'});
my $target_module = get_db_single_row ($dbh, 'SELECT * FROM tagente_modulo WHERE id_agente_modulo = ?', $agent_module->{'custom_integer_1'});
return unless defined $target_module;
# Prediction mode explanation