Skip to content

Commit

Permalink
Removed check if fieldmap is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
kisztof committed Sep 14, 2023
1 parent 35a8585 commit 5e8370d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/Repository/EventSubscriber/NameSchemaSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5e8370d

Please sign in to comment.