diff --git a/core/lib/rules.py b/core/lib/rules.py index f59cd1b..0c81a6f 100644 --- a/core/lib/rules.py +++ b/core/lib/rules.py @@ -159,6 +159,8 @@ class NotificationRuleData(object): Get a match result for an index. """ if self.object.match is None: + self.object.match = {} + self.object.save() return None if not isinstance(self.object.match, dict): return None