Fixes U4-547

This commit is contained in:
Morten Christensen
2013-03-22 15:09:36 -01:00
parent 65dc5eaeee
commit 112502cf18

View File

@@ -7,7 +7,6 @@ using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Caching;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.propertytype;
using umbraco.DataLayer;
using System.Collections.Generic;
using Umbraco.Core;
@@ -551,7 +550,12 @@ namespace umbraco.cms.businesslogic.web
protected virtual void FireAfterSave(SaveEventArgs e)
{
if (AfterSave != null)
AfterSave(this, e);
{
var updated = this._contentType == null
? new DocumentType(this.Id)
: new DocumentType(this._contentType);
AfterSave(updated, e);
}
}
/// <summary>