aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2019-04-30 23:35:11 -0400
committerGitHub <noreply@github.com>2019-04-30 23:35:11 -0400
commit2bc378a9c377cbcaf013eb83dac112aa47bd9053 (patch)
tree855dbc86f22cb4d5186e98044cfefc23b6068911 /Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs
parent61d7bed18145cd8b56b748a87b9398fb75332044 (diff)
parente8196fed7cdc43f83f666af477652a90f41b5961 (diff)
Merge pull request #1337 from jellyfin/release-10.3.z
Backmerge for 10.3.2 release
Diffstat (limited to 'Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs')
-rw-r--r--Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs b/Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs
index f835aa1b5..6a522fbef 100644
--- a/Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs
+++ b/Emby.Server.Implementations/Services/StringMapTypeDeserializer.cs
@@ -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)
{