Fixed: (Torznab) Overwrite description only if it's null

This commit is contained in:
Bogdan
2023-03-18 18:45:36 +02:00
parent b86a4fd670
commit b0e01fefdc
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -10,7 +10,6 @@ using NzbDrone.Core.Indexers.Newznab;
using NzbDrone.Core.IndexerVersions;
using NzbDrone.Core.Messaging.Events;
using NzbDrone.Core.ThingiProvider;
using NzbDrone.Core.ThingiProvider.Events;
namespace NzbDrone.Core.Indexers
{
@@ -209,7 +208,7 @@ namespace NzbDrone.Core.Indexers
definition.IndexerUrls = provider.IndexerUrls;
definition.LegacyUrls = provider.LegacyUrls;
definition.Privacy = provider.Privacy;
definition.Description = provider.Description;
definition.Description ??= provider.Description;
definition.Encoding = provider.Encoding;
definition.Language = provider.Language;
definition.Capabilities = provider.Capabilities;