Project

General

Profile

« Previous | Next » 

Revision 286ed246

Added by Jim Pingle over 8 years ago

Fix typo. Ticket #7007

View differences:

src/usr/local/www/vpn_ipsec_settings.php
50 50
	$pconfig = $_POST;
51 51

  
52 52
	foreach ($ipsec_log_cats as $cat => $desc) {
53
		if (!in_array(intval($pconfig['logging' . $cat]), array_keys($ipsec_log_sevs), true)) {
53
		if (!in_array(intval($pconfig['logging_' . $cat]), array_keys($ipsec_log_sevs), true)) {
54 54
			$input_errors[] = sprintf(gettext("A valid value must be specified for %s debug."), $desc);
55 55
		} else {
56 56
			$pconfig['logging'][$cat] = $pconfig['logging_' . $cat];

Also available in: Unified diff