From d6bd9c220a49b98dc7dd8e87d03f5585f39d5373 Mon Sep 17 00:00:00 2001 From: koichirok Date: Fri, 19 Aug 2011 02:38:29 +0000 Subject: [PATCH] 2011-08-19 Koichiro KIKUCHI * lib/PandoraFMS/Core.pm: Fixed typo. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 4 ++++ pandora_server/lib/PandoraFMS/Core.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 563dce0233..ec7cd7b11d 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2011-08-19 Koichiro KIKUCHI + + * lib/PandoraFMS/Core.pm: Fixed typo. + 2011-08-18 Ramon Novoa * lib/PandoraFMS/NetworkServer.pm, diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 6afadb6460..fd270a7fc7 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -2435,7 +2435,7 @@ sub pandora_self_monitoring ($$) { my $load_average = load_average(); $load_average = '' unless defined ($load_average); my $free_mem = free_mem(); - $free_mem = '' unless defined ($load_average); + $free_mem = '' unless defined ($free_mem); my $free_disk_spool = disk_free ($pa_config->{"incomingdir"}); $free_disk_spool = '' unless defined ($free_disk_spool); my $my_data_server = get_db_value ($dbh, "SELECT id_server FROM tserver WHERE server_type = 0 AND name = '".$pa_config->{"servername"}."'");