Check for blank parameter and operator

This commit is contained in:
JonnyWong16 2017-05-08 09:21:49 -07:00
parent 1eac1002b2
commit 7ba2b7828c

View file

@ -222,7 +222,7 @@ def notify_custom_conditions(notifier_id=None, parameters=None):
values = condition['value']
# Set blank conditions to None
if not values:
if not parameter or not operator or not values:
evaluated_conditions.append(None)
continue