Fixed: Old foreign id query too permissive

pull/6/head
ta264 5 years ago
parent 5f679c5f58
commit e9ced07b28

@ -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();
}

Loading…
Cancel
Save