handle case where old value or new value and not both are null explicitly in markDirty Method

This commit is contained in:
Harald Bamberger
2026-05-13 11:42:25 +02:00
parent d27071528f
commit 68d97a5e97
@@ -40,6 +40,8 @@ abstract class AbstractBestandteil implements IValidation
if( is_bool($new_value) && ($old_value !== $new_value) ) {
$this->modifiedcolumns[$columnname] = $columnname;
} else if(is_null($old_value) xor is_null($new_value)) {
$this->modifiedcolumns[$columnname] = $columnname;
} else if($old_value != $new_value) {
$this->modifiedcolumns[$columnname] = $columnname;
}