Skip to content

Commit

Permalink
Update Dc11SchemaPublicationFormatAdapter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
WillemStruiksma authored and ewhanson committed Jul 10, 2024
1 parent 2e2b8a1 commit 9c25bb5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ public function extractMetadataFromDataObject(&$publicationFormat)
}
if ($context->areDoisEnabled()) {
$doi = $publication->getData('doiObject');
if ($doi)
{
if ($doi) {
$dc11Description->addStatement('dc:relation', $doi->getData('doi'));
}
}

// Identifier: others
$identificationCodeFactory = $publicationFormat->getIdentificationCodes();
while ($identificationCode = $identificationCodeFactory->next()) {
Expand Down

0 comments on commit 9c25bb5

Please sign in to comment.