diff options
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index d6d6a50..c14c6e7 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -57,6 +57,8 @@ function get_tmp_file() { function tdr_install_cron($should_install) { global $config; $is_installed = false; + if(!$config['cron']['item']) + return; foreach($config['cron']['item'] as $item) { $x=0; if(strstr($item['command'], "filter_configure_sync")) { |