Parcourir la source

Add space when building query string for attachments.

Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
Andrew Mahone il y a 5 ans
Parent
commit
90dfe729bb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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";