Project

General

Profile

« Previous | Next » 

Revision cd9f13e0

Added by Jim Pingle almost 15 years ago

Properly check if this is in use.

View differences:

etc/inc/certs.inc
542 542
	if (!is_array($config['openvpn']['openvpn-server']))
543 543
		return;
544 544
	foreach ($config['openvpn']['openvpn-server'] as $ovpns) {
545
		if ($ovpns['crlref'] == $crlref)
545
		if (!empty($ovpns['crlref']) && ($ovpns['crlref'] == $crlref))
546 546
			return true;
547 547
	}
548 548
	return false;

Also available in: Unified diff