Update BaseConfiguration.cs

pull/1/head
Ogoun 5 years ago
parent ddbb111d40
commit a6eb051cab

@ -552,7 +552,7 @@ namespace ZeroLevel.Services.Config
member.Setter(instance, arrayBuilder.Complete());
}
}
else if (TypeHelpers.IsEnumerable(member.ClrType))
else if (typeof(string) != member.ClrType && TypeHelpers.IsEnumerable(member.ClrType))
{
var itemType = member.ClrType.GenericTypeArguments.First();
if (itemType == typeof(string))

Loading…
Cancel
Save

Powered by TurnKey Linux.