From 2170ada8a2db9595834c559abb97cc574c823892 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 (cherry picked from commit a929548ae38d2c5504b961f22131897508d26470) --- 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 78137a125..890921963 100644 --- a/src/NzbDrone.Core/Tags/TagService.cs +++ b/src/NzbDrone.Core/Tags/TagService.cs @@ -200,7 +200,7 @@ namespace NzbDrone.Core.Tags { foreach (var specification in autoTag.Specifications) { - if (specification is TagSpecification) + if (specification is TagSpecification tagSpecification && tagSpecification.Value == tag.Id) { autoTagIds.Add(autoTag.Id); }