diff --git a/src/model/concern/Attribute.php b/src/model/concern/Attribute.php index 0f2a1f1b..105d2840 100644 --- a/src/model/concern/Attribute.php +++ b/src/model/concern/Attribute.php @@ -374,6 +374,10 @@ public function getChangedData(): array return 1; } + if ($b instanceof Raw) { + return 0; + } + return is_object($a) || $a != $b ? 1 : 0; });