committed wrong version

This commit is contained in:
David@David-PC
2012-11-18 18:48:56 -01:00
parent 153fb4a248
commit 5a8443fe72

View File

@@ -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();
}
}