mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 15:03:06 +03:00
update SocketHttpListener
This commit is contained in:
@@ -440,7 +440,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
|
||||
var whereClauses = new List<string>();
|
||||
|
||||
if (query.Statuses.Count > 0)
|
||||
if (query.Statuses.Length > 0)
|
||||
{
|
||||
var statuses = string.Join(",", query.Statuses.Select(i => "'" + i.ToString() + "'").ToArray());
|
||||
|
||||
@@ -571,7 +571,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
cmd.Parameters.Add(cmd, "@TargetId", DbType.String).Value = query.TargetId;
|
||||
}
|
||||
|
||||
if (query.Statuses.Count > 0)
|
||||
if (query.Statuses.Length > 0)
|
||||
{
|
||||
var statuses = string.Join(",", query.Statuses.Select(i => "'" + i.ToString() + "'").ToArray());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user