From 40fe29571d9b110f08e2b332fee4435c849a0a96 Mon Sep 17 00:00:00 2001 From: dvserg Date: Mon, 17 Jan 2011 18:25:50 +0300 Subject: LS bug fix 2 --- config/lightsquid/lightsquid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/lightsquid/lightsquid.inc b/config/lightsquid/lightsquid.inc index ef8c1f3a..ea9d408a 100644 --- a/config/lightsquid/lightsquid.inc +++ b/config/lightsquid/lightsquid.inc @@ -324,7 +324,7 @@ function ls_setup_cron($task_name, $options, $task_key, $on_off) { unset($config['cron']['item'][$key]); } else # unset crontask by cmd - if ($options[6] && (strpos($item['command'], $options[6]) !== false) { + if ($options[6] && (strpos($item['command'], $options[6]) !== false)) { unset($config['cron']['item'][$key]); } } -- cgit v1.2.3