Explorar el Código

Make variables binding correspond with column names

Vasily hace 5 años
padre
commit
0d2a355c00
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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();