Fixed bug that used the draft template for the publish data on load from database (#17277)

This commit is contained in:
Bjarke Berg
2024-10-15 11:59:08 +02:00
committed by GitHub
parent 0da6ab60b3
commit 25be93b1e0

View File

@@ -886,7 +886,7 @@ WHERE cmsContentNu.nodeId IN (
dto.VersionId,
dto.PubVersionDate,
dto.CreatorId,
dto.EditTemplateId == 0 ? null : dto.EditTemplateId,
dto.PubTemplateId == 0 ? null : dto.PubTemplateId,
true,
deserializedContent?.PropertyData,
deserializedContent?.CultureData);