mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixed a null reference exception by initializing the lists.
This commit is contained in:
@@ -24,7 +24,10 @@ namespace Orchard.Recipes.Providers.Builders {
|
|||||||
_contentDefinitionManager = contentDefinitionManager;
|
_contentDefinitionManager = contentDefinitionManager;
|
||||||
_orchardServices = orchardServices;
|
_orchardServices = orchardServices;
|
||||||
_contentDefinitionWriter = contentDefinitionWriter;
|
_contentDefinitionWriter = contentDefinitionWriter;
|
||||||
|
|
||||||
VersionHistoryOptions = VersionHistoryOptions.Published;
|
VersionHistoryOptions = VersionHistoryOptions.Published;
|
||||||
|
SchemaContentTypes = new List<string>();
|
||||||
|
DataContentTypes = new List<string>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string Name {
|
public override string Name {
|
||||||
|
|||||||
Reference in New Issue
Block a user