mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Merge lines
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user