diff --git a/src/umbraco.cms/businesslogic/web/Document.cs b/src/umbraco.cms/businesslogic/web/Document.cs index 6cde5112df..87f8cd8878 100644 --- a/src/umbraco.cms/businesslogic/web/Document.cs +++ b/src/umbraco.cms/businesslogic/web/Document.cs @@ -1187,7 +1187,7 @@ 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) { + if (d.Published) { d.UnPublish(); } }