From d444a4afe82a22b4e2c359ae8c1d0243273a841a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20S=C5=82omka?= Date: Wed, 13 Sep 2023 12:22:37 +0200 Subject: [PATCH] Update src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php Co-authored-by: Andrew Longosz --- 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 71bfbdbcdc..61f2c81a51 100644 --- a/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php +++ b/src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php @@ -138,7 +138,7 @@ private function processEvent( $persistenceFieldType = $this->fieldTypeRegistry->getFieldType($fieldDefinition->fieldTypeIdentifier); - if ($content === null && !$fieldMap) { + if ($content === null && empty($fieldMap)) { continue; }