From 0a5696814d73c67bc031dbdff6d406520380cc8c Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 19 Jul 2011 18:22:00 -0400 Subject: Fix var name --- config/mailreport/mail_reports.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/mailreport') diff --git a/config/mailreport/mail_reports.inc b/config/mailreport/mail_reports.inc index f151219b..238ed292 100644 --- a/config/mailreport/mail_reports.inc +++ b/config/mailreport/mail_reports.inc @@ -150,7 +150,7 @@ function set_mail_report_cron_jobs($a_mailreports) { foreach($a_mailreports as $id => $report) { $cron_item = array(); $cron_item['minute'] = 0; - $cron_item['hour'] = isset($report['hourofday']) ? $report['hourofday'] : 0; + $cron_item['hour'] = isset($report['timeofday']) ? $report['timeofday'] : 0; $cron_item['mday'] = isset($report['dayofmonth']) ? $report['dayofmonth'] : "*"; $cron_item['month'] = isset($report['monthofyear']) ? $report['monthofyear'] : "*";; $cron_item['wday'] = isset($report['dayofweek']) ? $report['dayofweek'] : "*"; -- cgit v1.2.3