From 5e8370d0ef29f07a49af3fbcc470e921ee2ae24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20S=C5=82omka?= Date: Thu, 14 Sep 2023 09:26:26 +0200 Subject: [PATCH] Removed check if fieldmap is empty --- src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php b/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php index 55e0293e18..213a2cd73f 100644 --- a/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php +++ b/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php @@ -163,10 +163,6 @@ private function getValues( $persistenceFieldType = $this->fieldTypeRegistry->getFieldType($fieldDefinition->fieldTypeIdentifier); - if ($content === null && empty($fieldMap)) { - continue; - } - if (!empty($fieldMap)) { $fieldValue = $fieldMap[$identifier][$languageCode] ?? null; } else {