summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-03-10 17:11:07 +0100
committerSeth Mos <seth.mos@xs4all.nl>2009-03-10 17:11:07 +0100
commitf1c6aeca9d3673a3815a9d6b27f7964d45e2ea71 (patch)
tree30d64926401022a236c9d202e1ea1babddac4c87
parent3df6d458838116ae64ec7fdee4004c4b5117194b (diff)
downloadpfsense-f1c6aeca9d3673a3815a9d6b27f7964d45e2ea71.zip
pfsense-f1c6aeca9d3673a3815a9d6b27f7964d45e2ea71.tar.gz
Make sure we set the ID as a hidden input otherwise it will never be possible to edit a existing
entry. This was a copy and paste error.
-rwxr-xr-xusr/local/www/system_gateway_groups_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateway_groups_edit.php b/usr/local/www/system_gateway_groups_edit.php
index 03a7d4d..60da1cb 100755
--- a/usr/local/www/system_gateway_groups_edit.php
+++ b/usr/local/www/system_gateway_groups_edit.php
@@ -203,7 +203,7 @@ value="<?=htmlspecialchars($pconfig['descr']);?>">
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
<input name="Submit" type="submit" class="formbtn" value="Save"> <input type="button" value="Cancel" class="formbtn" onclick="history.back()">
- <?php if (isset($id) && $a_gateways[$id]): ?>
+ <?php if (isset($id) && $a_gateway_groups[$id]): ?>
<input name="id" type="hidden" value="<?=$id;?>">
<?php endif; ?>
</td>
OpenPOWER on IntegriCloud