mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°8910 - Upgrade Symfony packages (#811)
This commit is contained in:
@@ -131,8 +131,8 @@ class AsciiSlugger implements SluggerInterface, LocaleAwareInterface
|
||||
|
||||
if (\is_array($this->symbolsMap)) {
|
||||
$map = null;
|
||||
if (isset($this->symbolsMap[$locale])) {
|
||||
$map = $this->symbolsMap[$locale];
|
||||
if (isset($this->symbolsMap[$locale ?? ''])) {
|
||||
$map = $this->symbolsMap[$locale ?? ''];
|
||||
} else {
|
||||
$parent = self::getParentLocale($locale);
|
||||
if ($parent && isset($this->symbolsMap[$parent])) {
|
||||
|
||||
Reference in New Issue
Block a user