added no_aftersave param to Wohneinheit/Hausnummer/Preorder afterSave()

This commit is contained in:
Frank Schubert
2025-08-05 17:57:22 +02:00
parent 9d7b0f1ec5
commit 8f2b627706
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -57,6 +57,8 @@ class Preorder extends mfBaseModel {
$this->creator = null;
$this->editor = null;
if(array_key_exists("no_aftersave", $_params) && $_params["no_aftersave"]) return true;
// prevent potential infinite loop
$nesting_level = mfValuecache::singleton()->get("preorder-save-nesting-level-" . $this->id);
if(!$nesting_level) {