From cdb68b253c9a5339782ba7f9ad971fff16f45e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20LU=C3=87I?= Date: Wed, 24 Dec 2014 18:40:32 +0100 Subject: Oops remove variable with same name unused! --- usr/local/www/widgets/widgets/ipsec.widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/widgets/widgets/ipsec.widget.php b/usr/local/www/widgets/widgets/ipsec.widget.php index 2bc721f..ee587a3 100644 --- a/usr/local/www/widgets/widgets/ipsec.widget.php +++ b/usr/local/www/widgets/widgets/ipsec.widget.php @@ -87,7 +87,7 @@ if (isset($config['ipsec']['phase1'])) { ?> $ikeid = "con{$ph1ent['ikeid']}"; $found = false; - foreach ($ipsec_status['query']['ikesalist']['ikesa'] as $ikeid => $ikesa) { + foreach ($ipsec_status['query']['ikesalist']['ikesa'] as $ikesa) { if ($ikeid == $ikesa['peerconfig']) { $found = true; $ph2ikeid = $ikesa['id']; -- cgit v1.1