Fixed: (Cardigann) Requests Failing for Definitions without LegacyLinks

pull/824/head
bakerboy448 3 years ago committed by Qstick
parent 95f62be50c
commit a0d5421dc8

@ -827,7 +827,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
return defaultLink; return defaultLink;
} }
if (_definition.Legacylinks.Contains(settingsBaseUrl)) if (_definition?.Legacylinks?.Contains(settingsBaseUrl) ?? false)
{ {
_logger.Trace("Changing legacy site link from {0} to {1}", settingsBaseUrl, defaultLink); _logger.Trace("Changing legacy site link from {0} to {1}", settingsBaseUrl, defaultLink);
return defaultLink; return defaultLink;

Loading…
Cancel
Save