From 60fef3de7441b280d04ee7a6c0bf942104ec0b17 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 26 Feb 2024 20:06:15 +0100 Subject: [PATCH] Merge lines --- module/Core/src/RedirectRule/Entity/RedirectCondition.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,