diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-06-17 09:06:13 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-06-17 09:06:13 -0400 |
| commit | f9847be17c5037671b622b61df9aaa113723f318 (patch) | |
| tree | 3cdd29229f24f21beafb526a5fd13de9d336fb9f /MediaBrowser.Server.Implementations/Dto | |
| parent | bcfe86dd16e66e2e0510b1e752b4067c3fa991d3 (diff) | |
update item by name queries
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Dto/DtoService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs index 95a2351093..bb9fcc9241 100644 --- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs +++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs @@ -418,7 +418,7 @@ namespace MediaBrowser.Server.Implementations.Dto var dto = GetBaseItemDtoInternal(item, options, GetSyncedItemProgressDictionary(syncProgress), user); - if (options.Fields.Contains(ItemFields.ItemCounts)) + if (taggedItems != null && options.Fields.Contains(ItemFields.ItemCounts)) { SetItemByNameInfo(item, dto, taggedItems, user); } |
