refactor markDirty check

This commit is contained in:
Harald Bamberger
2023-07-26 17:41:23 +02:00
parent 18e82225ce
commit bbe1fe2d49
@@ -30,8 +30,9 @@ abstract class AbstractBestandteil
return;
}
if($old_value != $new_value) {
if( is_bool($new_value) && ($old_value !== $new_value) ) {
$this->modifiedcolumns[$columnname] = $columnname;
} else if($old_value != $new_value) {
$this->modifiedcolumns[$columnname] = $columnname;
}
}