From bdffeaef1abe9c9c607fe0796183461242352052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20S=C5=82omka?= Date: Mon, 21 Aug 2023 09:58:01 +0200 Subject: [PATCH] Fixed name schema generation issue --- src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php b/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php index 69d12ac60c..9252813f22 100644 --- a/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php +++ b/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php @@ -117,8 +117,8 @@ private function processEvent( ?array $fieldMap = null ): array { foreach ($languages as $languageCode) { + $tokenValues[$languageCode] = []; foreach ($identifiers as $identifier) { - $tokenValues[$languageCode] = []; $fieldDefinition = $contentType->getFieldDefinition($identifier); if (null === $fieldDefinition) { continue;