aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid.inc')
-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
+?>