From f3ce0ac6206cffe7d5268c2934dc70bdaa59075d Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 5 Sep 2024 14:54:39 +0300 Subject: [PATCH] Fixed: Linking autotags with tag specification to all tags --- src/NzbDrone.Core/Tags/TagService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Tags/TagService.cs b/src/NzbDrone.Core/Tags/TagService.cs index b8e676035..93c85fe36 100644 --- a/src/NzbDrone.Core/Tags/TagService.cs +++ b/src/NzbDrone.Core/Tags/TagService.cs @@ -198,7 +198,7 @@ private List GetAutoTagIds(Tag tag, List autoTags) { foreach (var specification in autoTag.Specifications) { - if (specification is TagSpecification) + if (specification is TagSpecification tagSpecification && tagSpecification.Value == tag.Id) { autoTagIds.Add(autoTag.Id); }