From e14d6f5b17539120e635c0df1dd48bd0ae09ffe8 Mon Sep 17 00:00:00 2001 From: jsatoh Date: Sun, 29 Jul 2012 00:24:35 +0000 Subject: [PATCH] 2012-07-29 Junichi Satoh * lib/PandoraFMS/DB.pm: Added missing '%'. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 4 ++++ pandora_server/lib/PandoraFMS/DB.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 1d89b92ef3..7e7d015b01 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2012-07-29 Junichi Satoh + + * lib/PandoraFMS/DB.pm: Added missing '%'. + 2012-07-27 Miguel de Dios * lib/PandoraFMS/DB.pm: added function "get_agentmodule_data" to diff --git a/pandora_server/lib/PandoraFMS/DB.pm b/pandora_server/lib/PandoraFMS/DB.pm index a3850b78b3..a8abb47d1f 100644 --- a/pandora_server/lib/PandoraFMS/DB.pm +++ b/pandora_server/lib/PandoraFMS/DB.pm @@ -224,7 +224,7 @@ sub get_agent_modules ($$$$$) { my $str_filter = ''; - foreach my $key (keys $filters) { + foreach my $key (keys %$filters) { $str_filter .= ' AND ' . $key . " = " . $filters->{$key}; }