Don't coalesce empty strings to null in StringMapTypeDeserializer
This commit is contained in:
parent
28c2ac528d
commit
844ea9d77e
|
@ -71,7 +71,7 @@ namespace Emby.Server.Implementations.Services
|
|||
string propertyName = pair.Key;
|
||||
string propertyTextValue = pair.Value;
|
||||
|
||||
if (string.IsNullOrEmpty(propertyTextValue)
|
||||
if (propertyTextValue == null
|
||||
|| !propertySetterMap.TryGetValue(propertyName, out propertySerializerEntry)
|
||||
|| propertySerializerEntry.PropertySetFn == null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user