summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-23 15:25:39 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-23 15:25:39 -0500
commite7f81ad6603eeccc8189e05a16ef12413a418c57 (patch)
tree6a8b24d17f829d74cf5e65bed6669ddf3a5efb08 /src/usr/local/www/vpn_ipsec.php
parente1d261ff6d04c299ff8ba3b8e42d4c555b37715a (diff)
downloadpfsense-e7f81ad6603eeccc8189e05a16ef12413a418c57.zip
pfsense-e7f81ad6603eeccc8189e05a16ef12413a418c57.tar.gz
Fixed #5805
Diffstat (limited to 'src/usr/local/www/vpn_ipsec.php')
-rw-r--r--src/usr/local/www/vpn_ipsec.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/vpn_ipsec.php b/src/usr/local/www/vpn_ipsec.php
index 489f1b1..0cc4620 100644
--- a/src/usr/local/www/vpn_ipsec.php
+++ b/src/usr/local/www/vpn_ipsec.php
@@ -82,7 +82,6 @@ $a_phase1 = &$config['ipsec']['phase1'];
$a_phase2 = &$config['ipsec']['phase2'];
if ($_POST) {
-
if ($_POST['apply']) {
$retval = vpn_ipsec_configure();
/* reload the filter in the background */
@@ -509,7 +508,7 @@ display_top_tabs($tab_array);
<!-- <button class="fa fa-anchor button-icon" type="submit" name="movep2_<?=$j?>" value="movep2_<?=$j?>" title="<?=gettext("Move checked P2s here")?>"></button> -->
<a class="fa fa-pencil" href="vpn_ipsec_phase2.php?p2index=<?=$ph2ent['uniqid']?>" title="<?=gettext("Edit phase2 entry"); ?>"></a>
<a class="fa fa-clone" href="vpn_ipsec_phase2.php?dup=<?=$ph2ent['uniqid']?>" title="<?=gettext("Add a new Phase 2 based on this one"); ?>"></a>
- <a class="fa fa-trash no-confirm" id="Xdelp2_<?=$i?>" title="<?=gettext('Delete phase2 entry'); ?>"></a>
+ <a class="fa fa-trash no-confirm" id="Xdelp2_<?=$ph2index?>" title="<?=gettext('Delete phase2 entry'); ?>"></a>
<button style="display: none;" class="btn btn-xs btn-warning" type="submit" id="delp2_<?=$ph2index?>" name="delp2_<?=$ph2index?>" value="delp2_<?=$ph2index?>" title="<?=gettext('delete phase2 entry'); ?>">delete</button>
</td>
</tr>
OpenPOWER on IntegriCloud