diff options
author | Phil Davis <phil.davis@inf.org> | 2016-02-09 07:34:15 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-02-09 07:34:15 +0545 |
commit | b8ccb1ea1985244f20f03e46d5e5122794e8e0d4 (patch) | |
tree | db44beff46f33984aa3a009e18e161ca38827002 /src/usr | |
parent | d4cb4cf3d665da3af06d348be0064b7c0dc616b2 (diff) | |
download | pfsense-b8ccb1ea1985244f20f03e46d5e5122794e8e0d4.zip pfsense-b8ccb1ea1985244f20f03e46d5e5122794e8e0d4.tar.gz |
Fix #3209 properly
The small change I made previously was not all of it - but it did avoid the previous problem by (accidentally) referring to the (undefined) $a_vlan array! I should actually pay more attention to the detail.
This should be even better :)
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/interfaces_vlan_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/interfaces_vlan_edit.php b/src/usr/local/www/interfaces_vlan_edit.php index a1bc5cc..f760813 100644 --- a/src/usr/local/www/interfaces_vlan_edit.php +++ b/src/usr/local/www/interfaces_vlan_edit.php @@ -146,7 +146,7 @@ if ($_POST) { if (isset($id) && $a_vlans[$id]) { if (($a_vlans[$id]['if'] != $_POST['if']) || ($a_vlans[$id]['tag'] != $_POST['tag'])) { if (!empty($a_vlans[$id]['vlanif'])) { - $confif = convert_real_interface_to_friendly_interface_name($a_vlan['vlanif']); + $confif = convert_real_interface_to_friendly_interface_name($a_vlans[$id]['vlanif']); // Destroy previous vlan pfSense_interface_destroy($a_vlans[$id]['vlanif']); } else { |