Skip to content

Commit 241e41a

Browse files
committed
Avoid duplicate titles.
1 parent 8fd787a commit 241e41a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Plugin/OaiMetadataMap/DgiStandard.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,6 @@ protected function handleTitleParagraphs(EntityReferenceRevisionsFieldItemList $
490490
if (!$title->isEmpty() && $title->access()) {
491491
$alt = $value->entity->get('field_title_type');
492492
$dest = !$alt->isEmpty() ? static::TITLE_ELEMENT_ALTERNATIVE : static::TITLE_ELEMENT_MAIN;
493-
$this->elements[$dest][] = $title->getString();
494493
if ($dest) {
495494
$this->elements[$dest][] = $title->getString();
496495
}

0 commit comments

Comments
 (0)