diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-03-10 17:11:07 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-03-10 17:11:07 +0100 |
commit | f1c6aeca9d3673a3815a9d6b27f7964d45e2ea71 (patch) | |
tree | 30d64926401022a236c9d202e1ea1babddac4c87 /usr | |
parent | 3df6d458838116ae64ec7fdee4004c4b5117194b (diff) | |
download | pfsense-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.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_gateway_groups_edit.php | 2 |
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"> </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> |