mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#19723: ContentType can be null in some conditions
Work Item: 19723 --HG-- branch : 1.x
This commit is contained in:
@@ -476,7 +476,7 @@ namespace Orchard.ContentManagement {
|
||||
// produce root record to determine the model id
|
||||
contentItem.VersionRecord = new ContentItemVersionRecord {
|
||||
ContentItemRecord = new ContentItemRecord {
|
||||
|
||||
ContentType = AcquireContentTypeRecord(contentItem.ContentType)
|
||||
},
|
||||
Number = 1,
|
||||
Latest = true,
|
||||
|
||||
Reference in New Issue
Block a user