summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-17 12:46:26 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-17 12:46:26 +0000
commit5330430193ed223700547ed8831046fa951a8575 (patch)
tree7638b5493561677b82a7e9c38995b940373a2d7e /usr
parent63552f4ef169f3386f7003136d42bef0ab8945da (diff)
downloadpfsense-5330430193ed223700547ed8831046fa951a8575.zip
pfsense-5330430193ed223700547ed8831046fa951a8575.tar.gz
Do not keep spawning new entries when trying to edit.
Diffstat (limited to 'usr')
-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 9d38334..4812e84 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -165,7 +165,7 @@ include("head.inc");
<form action="system_gateways_edit.php" method="post" name="iform" id="iform">
<?php
/* If this is a automatically added system gateway we need this var */
- if($pconfig['attribute'] == "system") {
+ if(($pconfig['attribute'] == "system") || is_numeric($pconfig['attribute'])) {
echo "<input type='hidden' name='attribute' id='attribute' value='{$pconfig['attribute']}' >\n";
}
?>
OpenPOWER on IntegriCloud