Project

General

Profile

« Previous | Next » 

Revision dda39c4a

Added by Scott Ullrich over 18 years ago

Detect when schedules are present and install non schedule rule correctly

View differences:

etc/inc/filter.inc
1277 1277
			echo "generate_user_filter_rule() being called $mt\n";
1278 1278
		}
1279 1279

  
1280
		if($config['schedules']) {
1281
			foreach($config['schedules']['schedule'] as $sched) {
1282
				$schedule_enabled = true;
1283
				break;
1284
			}
1285
		}
1286

  
1280 1287
		/* Setup cache array if not already existing */
1281 1288
		if (!isset($table_cache)) {
1282 1289
			if ($g['debug'])

Also available in: Unified diff