summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-xusr/local/www/system_gateways_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index 294483d..0bd623a 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -116,7 +116,7 @@ if ($_POST) {
$a_gateways = &$config['gateways']['gateway_item'];
- if ((is_numeric($pconfig['attribute'])) && ($pconfig['attribute'] != "system")) {
+ if ($pconfig['attribute'] != "system") {
$gateway = array();
$gateway['interface'] = $_POST['interface'];
$gateway['name'] = $_POST['name'];
OpenPOWER on IntegriCloud