U4-8461 ERROR umbraco.presentation.webservices.nodeSorter - Could not update content sort order

This commit is contained in:
Shannon
2016-05-17 13:27:45 +02:00
parent 1e468cda5d
commit 512c19a132

View File

@@ -192,7 +192,10 @@ namespace umbraco.presentation.webservices
//content.Instance.SortNodes(parentId);
//send notifications! TODO: This should be put somewhere centralized instead of hard coded directly here
ApplicationContext.Services.NotificationService.SendNotification(contentService.GetById(parentId), ActionSort.Instance, UmbracoContext, ApplicationContext);
if (parentId > 0)
{
ApplicationContext.Services.NotificationService.SendNotification(contentService.GetById(parentId), ActionSort.Instance, UmbracoContext, ApplicationContext);
}
}
catch (Exception ex)