mirror of https://github.com/Jackett/Jackett
This commit is contained in:
parent
2e46aea227
commit
bdff2209bd
|
@ -1415,7 +1415,7 @@ namespace Jackett.Common.Indexers
|
|||
try
|
||||
{
|
||||
value = handleSelector(Field.Value, Row, variables, !isOptional);
|
||||
if (isOptional && value == null)
|
||||
if (isOptional && string.IsNullOrWhiteSpace(value))
|
||||
{
|
||||
variables[variablesKey] = null;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue