From ee29c7fd8a08df57413d5f532e36cea181c7acb1 Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Tue, 4 Jul 2023 11:32:20 +0200 Subject: [PATCH] Fixes a wrong use of \config\ConfAssistant::CONSORTIUM['CONSORTIUM']['interworking-domainname-fallback'] Signed-off-by: Cyrille Bollu --- core/DeviceConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/DeviceConfig.php b/core/DeviceConfig.php index 8d5428bd1..20c5fc007 100644 --- a/core/DeviceConfig.php +++ b/core/DeviceConfig.php @@ -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