mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Apply review suggestion
This commit is contained in:
parent
5f938de337
commit
6300d01fcc
@ -3623,8 +3623,12 @@ namespace Emby.Server.Implementations.Data
|
|||||||
clauseBuilder.Append("(guid in (select itemid from People where Name = (select Name from TypedBaseItems where guid=")
|
clauseBuilder.Append("(guid in (select itemid from People where Name = (select Name from TypedBaseItems where guid=")
|
||||||
.Append(paramName)
|
.Append(paramName)
|
||||||
.Append("))) OR ");
|
.Append("))) OR ");
|
||||||
query.PersonIds[i].TryWriteBytes(idBytes);
|
|
||||||
statement?.TryBind(paramName, idBytes);
|
if (statement is not null)
|
||||||
|
{
|
||||||
|
query.PersonIds[i].TryWriteBytes(idBytes);
|
||||||
|
statement.TryBind(paramName, idBytes);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove last " OR "
|
// Remove last " OR "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user