diff options
-rw-r--r-- | config/mailreport/mail_reports.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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'] : "*"; |