diff options
author | Phil Davis <phil.davis@inf.org> | 2015-07-23 06:39:27 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-07-23 06:39:27 +0545 |
commit | a95acf1210c9bc97905e0fcf5d49c477556fb070 (patch) | |
tree | 4102329ff03b3bd9750c2b9b4a2cdb088825b4f2 /usr/local | |
parent | 699e20745b22e5a9e663ebd5acdcd94e01d0a466 (diff) | |
download | pfsense-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.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 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']); } |