From 67a0d52057e0d3592b3d81ecead2a91215625d0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20S=C5=82omka?= Date: Thu, 17 Aug 2023 16:21:19 +0200 Subject: [PATCH] Fixed Content service --- src/lib/Repository/ContentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Repository/ContentService.php b/src/lib/Repository/ContentService.php index 80d8f9d0c2..b02bc75a8f 100644 --- a/src/lib/Repository/ContentService.php +++ b/src/lib/Repository/ContentService.php @@ -1565,7 +1565,7 @@ protected function copyNonTranslatableFieldsFromPublishedVersion(APIContent $cur } $updateStruct = new SPIContentUpdateStruct(); - $updateStruct->name = $this->nameSchemaService->resolveNameSchema( + $updateStruct->name = $this->nameSchemaService->resolveContentNameSchema( $currentVersionContent, $fieldValues, $versionInfo->languageCodes,