null provider check for movies

pull/356/head
Drewster727 8 years ago
parent f76e54408e
commit ffc0ec34c4

@ -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…
Cancel
Save