Project

General

Profile

« Previous | Next » 

Revision a95acf12

Added by Phil Davis about 10 years ago

Add isset check for strictcrlpolicy

To be consistent with the checks in the rest of this code.

View differences:

usr/local/www/vpn_ipsec_settings.php
165 165
		
166 166
		if ($_POST['strictcrlpolicy'] == "yes") {
167 167
			$config['ipsec']['strictcrlpolicy'] = true;
168
		} else {
168
		} elseif (isset($config['ipsec']['strictcrlpolicy'])) {
169 169
			unset($config['ipsec']['strictcrlpolicy']);
170 170
		}
171 171

  

Also available in: Unified diff