Skip to content

Commit

Permalink
Update src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Longosz <[email protected]>
  • Loading branch information
kisztof and alongosz authored Sep 13, 2023
1 parent 3f0c35a commit d444a4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private function processEvent(

$persistenceFieldType = $this->fieldTypeRegistry->getFieldType($fieldDefinition->fieldTypeIdentifier);

if ($content === null && !$fieldMap) {
if ($content === null && empty($fieldMap)) {
continue;
}

Expand Down

0 comments on commit d444a4a

Please sign in to comment.