Projet

Général

Profil

« Précédent | Suivant » 

Révision 8f5ac1a1

Ajouté par jim-p il y a presque 10 ans

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

Voir les différences:

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']))

Formats disponibles : Unified diff