mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
Use null propagation
This commit is contained in:
@@ -3540,10 +3540,7 @@ namespace Emby.Server.Implementations.Data
|
||||
.Append(paramName)
|
||||
.Append("))) OR ");
|
||||
|
||||
if (statement is not null)
|
||||
{
|
||||
statement.TryBind(paramName, query.PersonIds[i]);
|
||||
}
|
||||
statement?.TryBind(paramName, query.PersonIds[i]);
|
||||
}
|
||||
|
||||
clauseBuilder.Length -= Or.Length;
|
||||
|
||||
Reference in New Issue
Block a user