summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-07-23 06:39:27 +0545
committerPhil Davis <phil.davis@inf.org>2015-07-23 06:39:27 +0545
commita95acf1210c9bc97905e0fcf5d49c477556fb070 (patch)
tree4102329ff03b3bd9750c2b9b4a2cdb088825b4f2 /usr/local
parent699e20745b22e5a9e663ebd5acdcd94e01d0a466 (diff)
downloadpfsense-a95acf1210c9bc97905e0fcf5d49c477556fb070.zip
pfsense-a95acf1210c9bc97905e0fcf5d49c477556fb070.tar.gz
Add isset check for strictcrlpolicy
To be consistent with the checks in the rest of this code.
Diffstat (limited to 'usr/local')
-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 c0eaba6..ac3fde9 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -165,7 +165,7 @@ if ($_POST) {
if ($_POST['strictcrlpolicy'] == "yes") {
$config['ipsec']['strictcrlpolicy'] = true;
- } else {
+ } elseif (isset($config['ipsec']['strictcrlpolicy'])) {
unset($config['ipsec']['strictcrlpolicy']);
}
OpenPOWER on IntegriCloud