Fixes U4-8516 Copied node now sets the current user as the creator of the new node.

This commit is contained in:
Simon Dingley
2018-04-27 16:18:25 +01:00
parent c321d6dd44
commit dbad0d261e

View File

@@ -565,7 +565,7 @@ namespace Umbraco.Web.Editors
{
var toCopy = ValidateMoveOrCopy(copy);
var c = Services.ContentService.Copy(toCopy, copy.ParentId, copy.RelateToOriginal, copy.Recursive);
var c = Services.ContentService.Copy(toCopy, copy.ParentId, copy.RelateToOriginal, copy.Recursive, Security.CurrentUser.Id);
var response = Request.CreateResponse(HttpStatusCode.OK);
response.Content = new StringContent(c.Path, Encoding.UTF8, "application/json");