RimoWorkorder: now setting dynamic properties to null in afterSave()

This commit is contained in:
Frank Schubert
2025-07-07 14:23:53 +02:00
parent d3602100a0
commit f166f746c5
@@ -15,6 +15,9 @@ class RimoWorkorder extends mfBaseModel {
} }
public function afterSave() { public function afterSave() {
$this->adb_wohneinheit = null;
$this->termination = null;
// prevent potential infinite loop // prevent potential infinite loop
$nesting_level = mfValuecache::singleton()->get("rimoworkorder-save-nesting-level-".$this->id); $nesting_level = mfValuecache::singleton()->get("rimoworkorder-save-nesting-level-".$this->id);
if(!$nesting_level) { if(!$nesting_level) {