Project

General

Profile

« Previous | Next » 

Revision 8f5ac1a1

Added by Jim Pingle about 11 years ago

Fix test (variable is a checkbox, not an array/string). Fixes #3662

View differences:

etc/inc/vpn.inc
322 322
				$strongswan .= "\t\tnbns = " . implode(",", $cfgservers) . "\n";
323 323
			unset($cfgservers);
324 324

  
325
			if (!empty($a_client['net_list'])) {
325
			if (isset($a_client['net_list'])) {
326 326
				$net_list = '';
327 327
				foreach ($a_phase2 as $ph2ent) {
328 328
					if (isset($ph2ent['disabled']))

Also available in: Unified diff