broadcasthenet: fixed an empty search bug (#9711) resolves #9710

This commit is contained in:
seeyabye 2020-10-02 07:08:29 +09:00 committed by GitHub
parent e16bb32dc9
commit 0cde1f2f67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ namespace Jackett.Common.Indexers
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;