Skip to content

Commit

Permalink
SaveEventRuleForm: Fix Undefined array key rule_escalation error
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Jul 10, 2024
1 parent 22f4f67 commit e73f309
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/forms/SaveEventRuleForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,10 @@ private function fetchDbValues(): array
}
}

if (! isset($config['rule_escalation'])) {
$config['rule_escalation'] = [];
}

$config['showSearchbar'] = ! empty($config['object_filter']);

return $config;
Expand Down

0 comments on commit e73f309

Please sign in to comment.