From 0a65abbbe3934f2d5517bdf784169b56e5d363bd Mon Sep 17 00:00:00 2001 From: "D. V. Serg" Date: Mon, 2 Feb 2009 20:16:46 +0000 Subject: Bug fix --- packages/squidGuard/squidguard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/squidGuard') diff --git a/packages/squidGuard/squidguard.inc b/packages/squidGuard/squidguard.inc index 7c97596b..4b712e70 100644 --- a/packages/squidGuard/squidguard.inc +++ b/packages/squidGuard/squidguard.inc @@ -518,7 +518,7 @@ function squidguard_before_form_acl($pkg, $is_acl=true) { # User destinations if ($squidguard_config[F_DESTINATIONS]) { - foreach($squidguard_config[F_DESTINATIONS] as $dst) + foreach($squidguard_config[F_DESTINATIONS]['item'] as $dst) $dest_items[] = array ('name'=>$dst[F_NAME], 'upt_value'=>$acls_up[$dst[F_NAME]], 'ovt_value'=>$acls_over[$dst[F_NAME]], -- cgit v1.2.3