mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Fixed an error when searching for movies with no imdbid.
This commit is contained in:
parent
43a71da0a7
commit
6deefbb997
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ namespace NzbDrone.Core.Indexers.Newznab
|
|||
{
|
||||
var pageableRequests = new IndexerPageableRequestChain();
|
||||
|
||||
if (SupportsMovieSearch)
|
||||
if (SupportsMovieSearch && searchCriteria.Movie.ImdbId.IsNotNullOrWhitespace())
|
||||
{
|
||||
pageableRequests.Add(GetPagedRequests(MaxPages, Settings.Categories, "movie", $"&imdbid={searchCriteria.Movie.ImdbId.Substring(2)}"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue