The Free Software Media System - Server Backend & API
Don't coalesce empty strings to null in StringMapTypeDeserializer
bugfixin844ea9d77ed2
diff --git a/Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs b/Emby.Server.Implementations/Services/StringMapTypeDeserializer.csindex f835aa1b5b..6a522fbef3 100644--- a/Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs+++ b/Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs@@ -71,7 +71,7 @@ namespace Emby.Server.Implementations.Servicesstring propertyName = pair.Key;string propertyTextValue = pair.Value;- if (string.IsNullOrEmpty(propertyTextValue)+ if (propertyTextValue == null|| !propertySetterMap.TryGetValue(propertyName, out propertySerializerEntry)|| propertySerializerEntry.PropertySetFn == null){