aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteItemRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index e4ceca267..255235cc7 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -3860,7 +3860,7 @@ namespace Emby.Server.Implementations.Data
whereClauses.Add("LocationType=@LocationType");
if (statement != null)
{
- statement.TryBind("LocationType", query.LocationTypes[0].ToString());
+ statement.TryBind("@LocationType", query.LocationTypes[0].ToString());
}
}
}
@@ -3881,7 +3881,7 @@ namespace Emby.Server.Implementations.Data
whereClauses.Add("LocationType<>@ExcludeLocationTypes");
if (statement != null)
{
- statement.TryBind("ExcludeLocationTypes", query.ExcludeLocationTypes[0].ToString());
+ statement.TryBind("@ExcludeLocationTypes", query.ExcludeLocationTypes[0].ToString());
}
}
}