aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-07-19 18:22:00 -0400
committerjim-p <jimp@pfsense.org>2011-07-19 18:22:58 -0400
commit0a5696814d73c67bc031dbdff6d406520380cc8c (patch)
tree53318c5b7fe4dfb2972bffd52275f235d847b436 /config
parentccf5e3aae1cb7bf14ec51c5c218442cdc244e02a (diff)
downloadpfsense-packages-0a5696814d73c67bc031dbdff6d406520380cc8c.tar.gz
pfsense-packages-0a5696814d73c67bc031dbdff6d406520380cc8c.tar.bz2
pfsense-packages-0a5696814d73c67bc031dbdff6d406520380cc8c.zip
Fix var name
Diffstat (limited to 'config')
-rw-r--r--config/mailreport/mail_reports.inc2
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'] : "*";