mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-14 04:53:02 +03:00
Enable nullable for InternalItemsQuery
This commit is contained in:
@@ -4427,7 +4427,7 @@ namespace Emby.Server.Implementations.Data
|
||||
whereClauses.Add(string.Join(" AND ", excludeIds));
|
||||
}
|
||||
|
||||
if (query.ExcludeProviderIds.Count > 0)
|
||||
if (query.ExcludeProviderIds != null && query.ExcludeProviderIds.Count > 0)
|
||||
{
|
||||
var excludeIds = new List<string>();
|
||||
|
||||
@@ -4457,7 +4457,7 @@ namespace Emby.Server.Implementations.Data
|
||||
}
|
||||
}
|
||||
|
||||
if (query.HasAnyProviderId.Count > 0)
|
||||
if (query.HasAnyProviderId != null && query.HasAnyProviderId.Count > 0)
|
||||
{
|
||||
var hasProviderIds = new List<string>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user