mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
null provider check for movies
This commit is contained in:
parent
f76e54408e
commit
ffc0ec34c4
1 changed files with 2 additions and 1 deletions
|
@ -179,7 +179,8 @@ namespace PlexRequests.Services.Jobs
|
|||
{
|
||||
if (advanced)
|
||||
{
|
||||
if (movie.ProviderId.Equals(providerId, StringComparison.InvariantCultureIgnoreCase))
|
||||
if (!string.IsNullOrEmpty(movie.ProviderId) &&
|
||||
movie.ProviderId.Equals(providerId, StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue