mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +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;
|
||||
_orchardServices = orchardServices;
|
||||
_contentDefinitionWriter = contentDefinitionWriter;
|
||||
|
||||
VersionHistoryOptions = VersionHistoryOptions.Published;
|
||||
SchemaContentTypes = new List<string>();
|
||||
DataContentTypes = new List<string>();
|
||||
}
|
||||
|
||||
public override string Name {
|
||||
|
Reference in New Issue
Block a user