aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2006-10-24 12:26:23 +0000
committerBill Marquette <billm@pfsense.org>2006-10-24 12:26:23 +0000
commit858b9059ceae3ee1021948b295ed3e80d895eaa9 (patch)
treeed5325459b3d8c4c3ed06add5c61a63dc0a76563
parentf5f33f3f24ea8e13231b027c50353c95466cb875 (diff)
downloadpfsense-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!
-rw-r--r--packages/squid.inc4
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
+?>