2
0
Эх сурвалжийг харах

don't save production year in person xml

Luke Pulverenti 12 жил өмнө
parent
commit
b02a1c7e76

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