From 899be443885a7ab8fb496acd763183b978712af7 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Thu, 26 Mar 2020 15:57:06 +0100 Subject: [PATCH] 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 --- Emby.Server.Implementations/Data/SqliteItemRepository.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index 0eb396af47..3f2d33de25 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/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();