We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 258191c commit f92b668Copy full SHA for f92b668
application/forms/EventRuleConfigForm.php
@@ -656,6 +656,15 @@ public function getChanges(): array
656
$values = $this->getValues();
657
$dbValuesToCompare = array_intersect_key($this->config, $values);
658
659
+ if (count($values, COUNT_RECURSIVE) < count($dbValuesToCompare, COUNT_RECURSIVE)) {
660
+ if ($values['object_filter'] === $dbValuesToCompare['object_filter']) {
661
+ unset($values['object_filter']);
662
+ }
663
+
664
+ // escalation has been removed
665
+ return $values;
666
667
668
$checker = static function ($a, $b) use (&$checker) {
669
if (! is_array($a) || ! is_array($b)) {
670
return $a <=> $b;
0 commit comments