浏览代码

Merge pull request #2674 from JustAMan/fix-attachments-scan

Make variables binding correspond with column names

(cherry picked from commit 10050a55a55c25d7fe9a8fe63b326995aaf487d7)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Bond-009 5 年之前
父节点
当前提交
899be44388
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Emby.Server.Implementations/Data/SqliteItemRepository.cs

+ 2 - 2
Emby.Server.Implementations/Data/SqliteItemRepository.cs

@@ -6288,8 +6288,8 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
                         statement.TryBind("@Codec" + index, attachment.Codec);
                         statement.TryBind("@CodecTag" + index, attachment.CodecTag);
                         statement.TryBind("@Comment" + index, attachment.Comment);
-                        statement.TryBind("@FileName" + index, attachment.FileName);
-                        statement.TryBind("@MimeType" + index, attachment.MimeType);
+                        statement.TryBind("@Filename" + index, attachment.FileName);
+                        statement.TryBind("@MIMEType" + index, attachment.MimeType);
                     }
 
                     statement.Reset();