aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteItemRepository.cs
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2019-11-05 08:35:42 -0500
committerAndrew Mahone <andrew.mahone@gmail.com>2019-11-05 08:35:42 -0500
commitcc7741efd4c3b7c2c9039c768fc1a9e1442dbf8d (patch)
tree9e939c5461bfbc44f4f16b944cd79dee1a3e4650 /Emby.Server.Implementations/Data/SqliteItemRepository.cs
parentcdc7d83c223c4aa92591eef4675b53c030e3bcbf (diff)
parent3602251cf53c636e3006605e2b48a77d7952d029 (diff)
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index 864ee4683..2b9c6a52f 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -6180,7 +6180,8 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
statement.TryBind("@AttachmentIndex", query.Index.Value);
}
- foreach (var row in statement.ExecuteQuery()) {
+ foreach (var row in statement.ExecuteQuery())
+ {
list.Add(GetMediaAttachment(row));
}
}
@@ -6230,7 +6231,7 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
{
if (i != startIndex)
{
- insertText.Append(",");
+ insertText.Append(',');
}
var index = i.ToString(CultureInfo.InvariantCulture);