Browse Source

Add space when building query string for attachments.

Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
Andrew Mahone 5 years ago
parent
commit
90dfe729bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/Data/SqliteItemRepository.cs

+ 1 - 1
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";