Browse Source

Update SqliteItemRepository.cs - incorporate review suggestion

Co-authored-by: Bond-009 <bond.009@outlook.com>
elfalem 8 months ago
parent
commit
8499be23cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/Data/SqliteItemRepository.cs

+ 1 - 1
Emby.Server.Implementations/Data/SqliteItemRepository.cs

@@ -4224,7 +4224,7 @@ namespace Emby.Server.Implementations.Data
                         statement.TryBind(paramName + index, GetCleanValue(query.IncludeInheritedTags[index]));
                     }
 
-                    if (query.User != null)
+                    if (query.User is not null)
                     {
                         statement.TryBind("@PlaylistOwnerUserId", $"""%"OwnerUserId":"{query.User.Id.ToString("N")}"%""");
                     }