From a8cb8ebf4d3df34bfb2827f927fa1dab1a5e1e41 Mon Sep 17 00:00:00 2001 From: Skibbi Date: Wed, 29 Jan 2014 13:26:59 +0100 Subject: [PATCH] move settings to emailreports section --- monitorix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitorix b/monitorix index 6453281..d9aff8b 100755 --- a/monitorix +++ b/monitorix @@ -561,8 +561,8 @@ while(1) { # Email Reports if(lc($config{emailreports}->{enabled}) eq "y") { my $emailreports = $config{emailreports}; - my $email_m = $config{email_report_minute}; - my $email_h = $config{email_report_hour}; + my $email_m = $emailreports->{minute}; + my $email_h = $emailreports->{hour}; my $d = "emailreports"; undef($d) if(!grep {trim($_) eq $d} (@{$config{debug}}));