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