diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-17 12:46:26 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-17 12:46:26 +0000 |
commit | 5330430193ed223700547ed8831046fa951a8575 (patch) | |
tree | 7638b5493561677b82a7e9c38995b940373a2d7e /usr/local | |
parent | 63552f4ef169f3386f7003136d42bef0ab8945da (diff) | |
download | pfsense-5330430193ed223700547ed8831046fa951a8575.zip pfsense-5330430193ed223700547ed8831046fa951a8575.tar.gz |
Do not keep spawning new entries when trying to edit.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 2 |
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"; } ?> |