From b8ccb1ea1985244f20f03e46d5e5122794e8e0d4 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 9 Feb 2016 07:34:15 +0545 Subject: 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 :) --- src/usr/local/www/interfaces_vlan_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/local/www/interfaces_vlan_edit.php') 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 { -- cgit v1.1