diff options
author | Bill Marquette <billm@pfsense.org> | 2006-10-24 12:26:23 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2006-10-24 12:26:23 +0000 |
commit | 858b9059ceae3ee1021948b295ed3e80d895eaa9 (patch) | |
tree | ed5325459b3d8c4c3ed06add5c61a63dc0a76563 /packages | |
parent | f5f33f3f24ea8e13231b027c50353c95466cb875 (diff) | |
download | pfsense-packages-858b9059ceae3ee1021948b295ed3e80d895eaa9.tar.gz pfsense-packages-858b9059ceae3ee1021948b295ed3e80d895eaa9.tar.bz2 pfsense-packages-858b9059ceae3ee1021948b295ed3e80d895eaa9.zip |
Ticket #1143: $acl isn't an array type, don't expect it to be!
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/squid.inc b/packages/squid.inc index 5a934b1a..ae731d94 100644 --- a/packages/squid.inc +++ b/packages/squid.inc @@ -81,8 +81,6 @@ function squid_is_valid_acl($acl) { global $valid_acls; if(!is_array($valid_acls)) return; - if(!is_array($acl)) - return; return in_array($acl, $valid_acls); } @@ -850,4 +848,4 @@ function squid_generate_rules($type) { return $rules; } -?>
\ No newline at end of file +?> |