From ca5f87c7ebd2a1dca0def67759b6cf991a0407bb Mon Sep 17 00:00:00 2001 From: crobibero Date: Mon, 14 Dec 2020 07:20:16 -0700 Subject: [PATCH] Fix get provider id extension --- MediaBrowser.Model/Entities/ProviderIdsExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs b/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs index 1782b42e21..98097477c6 100644 --- a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs +++ b/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs @@ -49,7 +49,7 @@ namespace MediaBrowser.Model.Entities } instance.ProviderIds.TryGetValue(name, out string? id); - return id; + return string.IsNullOrEmpty(id) ? null : id; } ///