Project

General

Profile

« Previous | Next » 

Revision 0b5636fc

Added by Jim Pingle almost 12 years ago

Remove this check, the value can be 0 here if the target is the first item in the array.

View differences:

etc/inc/services.inc
2228 2228
			write_config(sprintf(gettext("Updated cron job for %s"), $command));
2229 2229
		}
2230 2230
	} else {
2231
		if(($is_installed == true) && ($x > 0)) {
2231
		if($is_installed == true) {
2232 2232
			unset($config['cron']['item'][$x]);
2233 2233
			write_config(sprintf(gettext("Removed cron job for %s"), $command));
2234 2234
		}

Also available in: Unified diff