aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.Controller/Library/DtoBuilder.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Library/DtoBuilder.cs b/MediaBrowser.Controller/Library/DtoBuilder.cs
index 04ebf3a8d..02d8eb16f 100644
--- a/MediaBrowser.Controller/Library/DtoBuilder.cs
+++ b/MediaBrowser.Controller/Library/DtoBuilder.cs
@@ -300,13 +300,13 @@ namespace MediaBrowser.Controller.Library
{
var strippedOverview = string.IsNullOrEmpty(item.Overview) ? item.Overview : item.Overview.StripHtml();
- if (fields.Contains(ItemFields.Overview))
+ if (hasOverview)
{
dto.Overview = strippedOverview;
}
// Only supply the html version if there was actually html content
- if (fields.Contains(ItemFields.OverviewHtml) && !string.Equals(item.Overview, strippedOverview))
+ if (hasHtmlOverview)
{
dto.OverviewHtml = item.Overview;
}