mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixed site settings recipe step.
This fixes an issue where the remainder of the attributes on an XML element are not being processed if a certain attribute does not exist as a property on the part. For example, the SiteCultures attribute on the element being imported would not match to a property on the SiteSettingsPart, so the remainder of the attributes would be skipped.
This commit is contained in:
@@ -74,7 +74,7 @@ namespace Orchard.Recipes.RecipeHandlers {
|
||||
|
||||
var property = sitePart.GetType().GetProperty(attributeName);
|
||||
if (property == null) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
var propertyType = property.PropertyType;
|
||||
|
Reference in New Issue
Block a user