mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-26 16:26:39 -06:00
Merge lines
This commit is contained in:
parent
0fe503fa0e
commit
60fef3de74
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user