Fixed: Error when attempting to retry a release with nzbget

pull/4/head
Mark McDowall 10 years ago
parent 4e98a447cb
commit 89d0293f6e

@ -127,7 +127,7 @@ namespace NzbDrone.Core.Download.Clients.Nzbget
public void RetryDownload(string id, NzbgetSettings settings)
{
var history = GetHistory(settings);
var item = history.SingleOrDefault(h => h.Parameters.SingleOrDefault(p => p.Name == "drone") != null);
var item = history.SingleOrDefault(h => h.Parameters.SingleOrDefault(p => p.Name == "drone" && id == (p.Value as string)) != null);
if (item == null)
{

Loading…
Cancel
Save