Skip to content

Commit

Permalink
broadcasthenet: fixed an empty search bug (#9711) resolves #9710
Browse files Browse the repository at this point in the history
  • Loading branch information
seeyabye committed Oct 1, 2020
1 parent e16bb32 commit 0cde1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jackett.Common/Indexers/BroadcasTheNet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private string JsonRPCRequest(string method, JArray parameters)

protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
{
var searchString = query.SearchTerm;
var searchString = query.SearchTerm != null ? query.SearchTerm : "";
var btnResults = query.Limit;
if (btnResults == 0)
btnResults = (int)TorznabCaps.LimitsDefault;
Expand Down

0 comments on commit 0cde1f2

Please sign in to comment.