diff options
author | Ermal <eri@pfsense.org> | 2011-07-25 19:05:47 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-07-25 19:05:47 +0000 |
commit | 073cd52e5836a961bcaf677d34b2252964fc9e10 (patch) | |
tree | df32978b1357886380551c6882addad665eabcb8 /usr/local | |
parent | b368b35a6751d5b29c17ba1c5ec29fdd4a4861d1 (diff) | |
download | pfsense-073cd52e5836a961bcaf677d34b2252964fc9e10.zip pfsense-073cd52e5836a961bcaf677d34b2252964fc9e10.tar.gz |
Resolves #1703. Correct array key value.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces_groups.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_groups.php b/usr/local/www/interfaces_groups.php index 00bc613..e46652a 100755 --- a/usr/local/www/interfaces_groups.php +++ b/usr/local/www/interfaces_groups.php @@ -47,11 +47,11 @@ $a_ifgroups = &$config['ifgroups']['ifgroupentry']; if ($_GET['act'] == "del") { if ($a_ifgroups[$_GET['id']]) { - $members = explode(" ", $a_ifgroups[$_GET[$id]]['members']); + $members = explode(" ", $a_ifgroups[$_GET['id']]['members']); foreach ($members as $ifs) { $realif = get_real_interface($ifs); if ($realif) - mwexec("/sbin/ifconfig {$realif} -group " . $a_ifgroups[$_GET[$id]]['ifname']); + mwexec("/sbin/ifconfig {$realif} -group " . $a_ifgroups[$_GET['id']]['ifname']); } unset($a_ifgroups[$_GET['id']]); write_config(); |