mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
refactor markDirty check
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user