|
@@ -254,7 +254,7 @@ discard block |
|
|
block discarded – undo |
|
254
|
254
|
* @param int $profileNumber the profile index or NULL to indicate a LAN profile |
|
255
|
255
|
* @param boolean $hs20 for WLAN profiles indicates if use the nohs prefix |
|
256
|
256
|
*/ |
|
257
|
|
- private function saveProfile($profile, $profileNumber=NULL, $hs20=false) |
|
|
257
|
+ private function saveProfile($profile, $profileNumber = NULL, $hs20 = false) |
|
258
|
258
|
{ |
|
259
|
259
|
if ($hs20) { |
|
260
|
260
|
$prefix = 'w'; |
|
@@ -303,7 +303,7 @@ discard block |
|
|
block discarded – undo |
|
303
|
303
|
$outerId = $this->determineOuterIdString(); |
|
304
|
304
|
$nea = (\core\common\Entity::getAttributeValue($this->attributes, 'media:wired', 0) === 'on') ? 'true' : 'false'; |
|
305
|
305
|
$otherTlsName = \core\common\Entity::getAttributeValue($this->attributes, 'eap-specific:tls_use_other_id', 0) === 'on' ? 'true' : 'false'; |
|
306
|
|
- $this->useGeantLink = \core\common\Entity::getAttributeValue($this->attributes, 'device-specific:geantlink', $this->device_id)[0] === 'on' ? true : false; |
|
|
306
|
+ $this->useGeantLink = \core\common\Entity::getAttributeValue($this->attributes, 'device-specific:geantlink', $this->device_id)[0] === 'on' ? true : false; |
|
307
|
307
|
$eapConfig = $this->setEapObject(); |
|
308
|
308
|
$eapConfig->setInnerType($this->selectedEap['INNER']); |
|
309
|
309
|
$eapConfig->setInnerTypeDisplay(\core\common\EAP::eapDisplayName($this->selectedEap)['INNER']); |
Please login to merge, or discard this patch.