diff --git a/Classes/Service/ImportService.php b/Classes/Service/ImportService.php index 16f35cb..57429e0 100644 --- a/Classes/Service/ImportService.php +++ b/Classes/Service/ImportService.php @@ -215,10 +215,10 @@ protected function addOrUpdatePublication($record): int $currentPublication = $this->getPublicationByIdentifier( $this->storagePid, - $updatedPublication['title'] ?? '', - $updatedPublication['year'] ?? '', - $updatedPublication['citeid'] ?? '', - $updatedPublication['bibtype'] ?? '', + $record['title'] ?? '', + $record['year'] ?? '', + $record['citeid'] ?? '', + $record['bibtype'] ?? '', ); if (!empty($currentPublication)) {