The Free Software Media System - Server Backend & API
Make variables binding correspond with column names
Vasily0d2a355c00f9
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.csindex 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.Typestatement.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();