mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixing content publication
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Orchard.ContentManagement {
|
|||||||
|
|
||||||
// is it the Published version ?
|
// is it the Published version ?
|
||||||
if (item.VersionRecord.Latest && item.VersionRecord.Published) {
|
if (item.VersionRecord.Latest && item.VersionRecord.Published) {
|
||||||
_publishedItemsByContentRecordId.Add(item.Id, item);
|
_publishedItemsByContentRecordId[item.Id] = item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user