mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
fix obj ref error when scheduler runs (ProviderId is null?)
This commit is contained in:
parent
465665f414
commit
87bb392b41
1 changed files with 2 additions and 1 deletions
|
@ -225,7 +225,8 @@ namespace PlexRequests.Services.Jobs
|
||||||
{
|
{
|
||||||
if (advanced)
|
if (advanced)
|
||||||
{
|
{
|
||||||
if (show.ProviderId.Equals(providerId, StringComparison.InvariantCultureIgnoreCase))
|
if (!string.IsNullOrEmpty(show.ProviderId) &&
|
||||||
|
show.ProviderId.Equals(providerId, StringComparison.InvariantCultureIgnoreCase))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue