Commit 17e0f91e authored by Ad Schellevis's avatar Ad Schellevis

(leagcy) add missing exit in vpn_ipsec_mobile.php

parent f561f19b
...@@ -86,6 +86,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -86,6 +86,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
if (isset($_POST['create'])) { if (isset($_POST['create'])) {
// create new phase1 entry // create new phase1 entry
header("Location: vpn_ipsec_phase1.php?mobile=true"); header("Location: vpn_ipsec_phase1.php?mobile=true");
exit;
} elseif (isset($_POST['apply'])) { } elseif (isset($_POST['apply'])) {
// apply changes // apply changes
$retval = 0; $retval = 0;
...@@ -97,6 +98,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -97,6 +98,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
} }
} }
header("Location: vpn_ipsec_mobile.php?savemsg=".$savemsg); header("Location: vpn_ipsec_mobile.php?savemsg=".$savemsg);
exit;
} elseif (isset($_POST['submit'])) { } elseif (isset($_POST['submit'])) {
// save form changes // save form changes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment