summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-07-23 06:39:27 +0545
committerChris Buechler <cmb@pfsense.org>2015-07-22 21:57:54 -0500
commit241c48ef279d5a4c8971e1fa675143f5862c8ec0 (patch)
treef9a2eb01dfb557915ee632bea8f71e3e6fe1aa5a
parentbfc1c4b0d513c9fe88cf8970086d9c5bb5b2a106 (diff)
downloadpfsense-241c48ef279d5a4c8971e1fa675143f5862c8ec0.zip
pfsense-241c48ef279d5a4c8971e1fa675143f5862c8ec0.tar.gz
Add isset check for strictcrlpolicy
To be consistent with the checks in the rest of this code.
-rw-r--r--usr/local/www/vpn_ipsec_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php
index a7f84a4..fc76fef 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -160,7 +160,7 @@ if ($_POST) {
if ($_POST['strictcrlpolicy'] == "yes") {
$config['ipsec']['strictcrlpolicy'] = true;
- } else {
+ } elseif (isset($config['ipsec']['strictcrlpolicy'])) {
unset($config['ipsec']['strictcrlpolicy']);
}
OpenPOWER on IntegriCloud