Browse Source

don't save production year in person xml

Luke Pulverenti 12 years ago
parent
commit
b02a1c7e76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Providers/Savers/XmlSaverHelpers.cs

+ 1 - 1
MediaBrowser.Providers/Savers/XmlSaverHelpers.cs

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