mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-27 16:26:37 +03:00
Merge lines
This commit is contained in:
parent
0fe503fa0e
commit
60fef3de74
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue