diff --git a/src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php b/src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php index 1e8a930..1db71b0 100644 --- a/src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php +++ b/src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php @@ -177,7 +177,7 @@ private function doMapRelatedFields(Content $sourceContent, $languageCode, $maxD { $sourceContentId = $sourceContent->versionInfo->contentInfo->id; $relations = $this->contentHandler->loadRelationList( - $sourceContent->versionInfo->contentInfo->id, + $sourceContentId, $this->contentHandler->countRelations($sourceContentId) );