aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg/sarg.inc
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-04-12 15:25:21 -0300
committermarcelloc <marcellocoutinho@gmail.com>2012-04-12 15:25:21 -0300
commitefc6d927072dc2c696704934116e5da7c347e3b6 (patch)
treec6d5b09c50eba61a38d50ffc0e19f59f3fa2040b /config/sarg/sarg.inc
parent40b25d0aa0a963560bba1a00c2eb1589e1f09df9 (diff)
downloadpfsense-packages-efc6d927072dc2c696704934116e5da7c347e3b6.tar.gz
pfsense-packages-efc6d927072dc2c696704934116e5da7c347e3b6.tar.bz2
pfsense-packages-efc6d927072dc2c696704934116e5da7c347e3b6.zip
sarg - include more anti-cache code for reports
Diffstat (limited to 'config/sarg/sarg.inc')
-rw-r--r--config/sarg/sarg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index 67deac9c..f2999ceb 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -81,7 +81,7 @@ function run_sarg($id=-1) {
#mount filesystem writeable
conf_mount_rw();
$cmd = "/usr/local/bin/sarg";
- if ($id > 0 && is_array($config['installedpackages']['sargschedule']['config'])){
+ if ($id >= 0 && is_array($config['installedpackages']['sargschedule']['config'])){
$args=$config['installedpackages']['sargschedule']['config'][$id]['args'];
$action=$config['installedpackages']['sargschedule']['config'][$id]['action'];
}