diff --git a/src/umbraco.cms/businesslogic/web/Document.cs b/src/umbraco.cms/businesslogic/web/Document.cs index 59064ab1bd..6cde5112df 100644 --- a/src/umbraco.cms/businesslogic/web/Document.cs +++ b/src/umbraco.cms/businesslogic/web/Document.cs @@ -1186,6 +1186,12 @@ where '" + Path + ",' like " + SqlHelper.Concat("node.path", "'%'")); { SqlHelper.ExecuteNonQuery(string.Format("update cmsDocument set published = 0 where nodeId = {0}", Id)); + foreach (var d in Children) { + if (!d.Published) { + d.UnPublish(); + } + } + _published = false; FireAfterUnPublish(e);