Skip to content

Commit

Permalink
Merge pull request #275 from StCyr/fix_CONSORTIUM_array_issue
Browse files Browse the repository at this point in the history
Fixes a wrong use of \config\ConfAssistant::CONSORTIUM['CONSORTIUM']['interworking-domainname-fallback']
  • Loading branch information
restena-sw committed Jul 4, 2023
2 parents da06dd6 + ee29c7f commit ab25eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/DeviceConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ private function getNetworks()
$ssids = $this->getConfigSSIDs();
$ois = $this->getConfigOIs();
$networks = [];
$realm = $this->realm === NULL ? \config\ConfAssistant::CONSORTIUM['CONSORTIUM']['interworking-domainname-fallback'] : $this->realm;
$realm = $this->realm === NULL ? \config\ConfAssistant::CONSORTIUM['interworking-domainname-fallback'] : $this->realm;
foreach (\config\ConfAssistant::CONSORTIUM['networks'] ?? [] as $netName => $netDetails) {
$netName = preg_replace('/%REALM%/', $this->realm, $netName);
// only add network blocks if their respective condition is met in this profile
Expand Down

0 comments on commit ab25eab

Please sign in to comment.