diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-03-26 15:57:06 +0100 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2020-04-05 12:42:30 -0400 |
| commit | 899be443885a7ab8fb496acd763183b978712af7 (patch) | |
| tree | 3bb513f5a9239d4ec0af2b6b6efe1cbcd9afffa5 | |
| parent | 354079862e47d87f5e7098d64af59e5e6d2852fd (diff) | |
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>
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteItemRepository.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index 0eb396af4..3f2d33de2 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(); |
