aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg/sarg.inc
diff options
context:
space:
mode:
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'];
}