aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto/DtoService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-05-31 14:07:54 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-05-31 14:07:54 -0400
commit977f62336be3c54fc33b3476d80d3cce4c0b244c (patch)
treef8a24dbb5feea30cfdc164a21dac9930b106f6b3 /MediaBrowser.Server.Implementations/Dto/DtoService.cs
parente0bfbffa75eb04d9da7d0163c136b0aa85c3eff7 (diff)
update storage of genres, studios, tags, & keywords
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto/DtoService.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs11
1 files changed, 1 insertions, 10 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index eb868d363..bfcdb2a26 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -983,16 +983,7 @@ namespace MediaBrowser.Server.Implementations.Dto
if (fields.Contains(ItemFields.Keywords))
{
- var hasTags = item as IHasKeywords;
- if (hasTags != null)
- {
- dto.Keywords = hasTags.Keywords;
- }
-
- if (dto.Keywords == null)
- {
- dto.Keywords = new List<string>();
- }
+ dto.Keywords = item.Keywords;
}
if (fields.Contains(ItemFields.ProductionLocations))