don't save production year in person xml

pull/702/head
Luke Pulverenti 12 years ago
parent 88f1723f99
commit b02a1c7e76

@ -245,7 +245,7 @@ namespace MediaBrowser.Providers.Savers
builder.Append("<Rating>" + SecurityElement.Escape(item.CommunityRating.Value.ToString(UsCulture)) + "</Rating>");
}
if (item.ProductionYear.HasValue)
if (item.ProductionYear.HasValue && !(item is Person))
{
builder.Append("<ProductionYear>" + SecurityElement.Escape(item.ProductionYear.Value.ToString(UsCulture)) + "</ProductionYear>");
}

Loading…
Cancel
Save