mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-02 23:04:23 +00:00
Fixed: Old foreign id query too permissive
This commit is contained in:
@@ -31,7 +31,8 @@ namespace NzbDrone.Core.Music
|
||||
|
||||
if (release == null && checkRedirect)
|
||||
{
|
||||
release = Query.Where(x => x.OldForeignReleaseIds.Contains(foreignReleaseId))
|
||||
var id = "\"" + foreignReleaseId + "\"";
|
||||
release = Query.Where(x => x.OldForeignReleaseIds.Contains(id))
|
||||
.SingleOrDefault();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user