diff --git a/module/Core/src/RedirectRule/Entity/RedirectCondition.php b/module/Core/src/RedirectRule/Entity/RedirectCondition.php index 9b7d3b3d..babbbe67 100644 --- a/module/Core/src/RedirectRule/Entity/RedirectCondition.php +++ b/module/Core/src/RedirectRule/Entity/RedirectCondition.php @@ -66,8 +66,7 @@ class RedirectCondition extends AbstractEntity } $acceptedLanguages = acceptLanguageToLocales($acceptLanguage); - $normalizedLocale = normalizeLocale($this->matchValue); - [$matchLanguage, $matchCountryCode] = splitLocale($normalizedLocale); + [$matchLanguage, $matchCountryCode] = splitLocale(normalizeLocale($this->matchValue)); return some( $acceptedLanguages,