don't save production year in person xml

This commit is contained in:
Luke Pulverenti 2013-07-30 10:51:39 -04:00
parent 88f1723f99
commit b02a1c7e76

View File

@ -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>");
}