This commit is contained in:
Sebastiaan Janssen
2013-01-10 15:28:42 -01:00

View File

@@ -967,6 +967,7 @@ namespace umbraco.cms.businesslogic.web
public bool SaveAndPublish(User u)
{
var e = new SaveEventArgs();
FireBeforeSave(e);
foreach (var property in GenericProperties)
{
@@ -976,8 +977,6 @@ namespace umbraco.cms.businesslogic.web
Content.SetValue(property.PropertyType.Alias, property.Value);
}
FireBeforeSave(e);
if (!e.Cancel)
{
var result = ApplicationContext.Current.Services.ContentService.SaveAndPublish(Content, u.Id, true);