Project

General

Profile

« Previous | Next » 

Revision 073cd52e

Added by Ermal LUÇI almost 14 years ago

Resolves #1703. Correct array key value.

View differences:

usr/local/www/interfaces_groups.php
47 47

  
48 48
if ($_GET['act'] == "del") {
49 49
	if ($a_ifgroups[$_GET['id']]) {
50
		$members = explode(" ", $a_ifgroups[$_GET[$id]]['members']);
50
		$members = explode(" ", $a_ifgroups[$_GET['id']]['members']);
51 51
		foreach ($members as $ifs) {
52 52
			$realif = get_real_interface($ifs);
53 53
			if ($realif)
54
				mwexec("/sbin/ifconfig  {$realif} -group " . $a_ifgroups[$_GET[$id]]['ifname']);
54
				mwexec("/sbin/ifconfig  {$realif} -group " . $a_ifgroups[$_GET['id']]['ifname']);
55 55
		}
56 56
		unset($a_ifgroups[$_GET['id']]);
57 57
		write_config();

Also available in: Unified diff