mirror of https://github.com/mikaku/Monitorix.git
keep backwards compatibility when 'hour' and 'time' options were hard coded. #39
This commit is contained in:
parent
a3458c61ba
commit
bf4aa3e8ae
|
@ -563,8 +563,8 @@ while(1) {
|
|||
# Email Reports
|
||||
if(lc($config{emailreports}->{enabled}) eq "y") {
|
||||
my $emailreports = $config{emailreports};
|
||||
my $m = $emailreports->{minute};
|
||||
my $h = $emailreports->{hour};
|
||||
my $m = $emailreports->{minute} || 0;
|
||||
my $h = $emailreports->{hour} || 0;
|
||||
my $d = "emailreports";
|
||||
undef($d) if(!grep {trim($_) eq $d} (@{$config{debug}}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue