Skip to content

The Free Software Media System - Server Backend & API

Add space when building query string for attachments.

Andrew Mahone90dfe729bb9f
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index 58f04e4fcf..d02aa9b1f2 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -6161,7 +6161,7 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
if (query.Index.HasValue)
{
- cmdText += "AND AttachmentIndex=@AttachmentIndex";
+ cmdText += " AND AttachmentIndex=@AttachmentIndex";
}
cmdText += " order by AttachmentIndex ASC";