Fixed a type on content copy.

This commit is contained in:
Jeremy Pyne
2013-06-18 10:38:08 -04:00
parent f5121bd183
commit 5e2c3a0a8b

View File

@@ -862,8 +862,10 @@ namespace Umbraco.Core.Services
var uow = _uowProvider.GetUnitOfWork();
using (var repository = _repositoryFactory.CreateContentRepository(uow))
{
// Update the create author and last edit author
copy.CreatorId = userId;
content.WriterId = userId; // Typo?
copy.WriterId = userId;
repository.AddOrUpdate(copy);
uow.Commit();