diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-03-27 21:14:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-03-27 21:14:50 +0000 |
commit | c5ebc6d402978109a77e9cbefdced2422fb429b0 (patch) | |
tree | c0bc307de51427313d0e502dde56e841af4886c9 /etc/inc/pfsense-utils.inc | |
parent | bd080157f3cff4db7ead56303fee048b4da4491b (diff) | |
download | pfsense-c5ebc6d402978109a77e9cbefdced2422fb429b0.zip pfsense-c5ebc6d402978109a77e9cbefdced2422fb429b0.tar.gz |
Check correct status values
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 8e43cbd..8b97ed9 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -515,7 +515,7 @@ function get_time_based_rule_status($schedule) { } else { $positionstatus = true; } - if($week or $day or $hour or $position) { + if($monthstatus and $daystatus and $hourstatus and $positionstatus) { $should_add_rule = true; } } |