From a7fc3f9776484a7bcec6aa03290a38ca53a4a435 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Mon, 3 Jun 2013 16:07:36 -0700 Subject: [PATCH] fixed newznab apikey --- NzbDrone.Core/Indexers/Newznab/Newznab.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NzbDrone.Core/Indexers/Newznab/Newznab.cs b/NzbDrone.Core/Indexers/Newznab/Newznab.cs index 9e88d1e7b..6e8ab1e64 100644 --- a/NzbDrone.Core/Indexers/Newznab/Newznab.cs +++ b/NzbDrone.Core/Indexers/Newznab/Newznab.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using NzbDrone.Common; using NzbDrone.Common.Serializer; namespace NzbDrone.Core.Indexers.Newznab @@ -57,7 +56,7 @@ namespace NzbDrone.Core.Indexers.Newznab { var url = String.Format("{0}/api?t=tvsearch&cat=5030,5040,5070,5090s", Settings.Url); - if (String.IsNullOrWhiteSpace(Settings.ApiKey)) + if (!String.IsNullOrWhiteSpace(Settings.ApiKey)) { url += "&apikey=" + Settings.ApiKey; }