diff options
author | Phil Davis <phil.davis@inf.org> | 2015-07-23 06:39:27 +0545 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-07-22 21:57:54 -0500 |
commit | 241c48ef279d5a4c8971e1fa675143f5862c8ec0 (patch) | |
tree | f9a2eb01dfb557915ee632bea8f71e3e6fe1aa5a | |
parent | bfc1c4b0d513c9fe88cf8970086d9c5bb5b2a106 (diff) | |
download | pfsense-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.php | 2 |
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']); } |