mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
Fixed an error when searching for movies with no imdbid.
This commit is contained in:
parent
43a71da0a7
commit
6deefbb997
@ -52,7 +52,7 @@ public IndexerPageableRequestChain GetSearchRequests(MovieSearchCriteria searchC
|
||||
{
|
||||
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…
Reference in New Issue
Block a user