From ea939fc3a6c35feee0f56078c95e95d612640783 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 16 Sep 2010 17:23:56 +0000 Subject: Oops bring back this code too. --- usr/local/www/system_gateways_edit.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr/local/www/system_gateways_edit.php') diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index ed626f0..597231d 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -262,8 +262,11 @@ if ($_POST) { header("Location: system_gateways.php"); exit; - } else + } else { $pconfig = $_POST; + if (empty($_POST['friendlyiface'])) + $pconfig['friendlyiface'] = $_POST['interface']; + } } -- cgit v1.1