added no_aftersave param to Wohneinheit/Hausnummer/Preorder afterSave()
This commit is contained in:
@@ -26,6 +26,8 @@ class ADBWohneinheit extends mfBaseModel {
|
||||
if(!$this->id) return true;
|
||||
if(!$this->hausnummer_id) return true;
|
||||
|
||||
if(array_key_exists("no_aftersave", $_params) && $_params["no_aftersave"]) return true;
|
||||
|
||||
// prevent potential infinite loop
|
||||
$nesting_level = mfValuecache::singleton()->get("adbwohneinheit-save-nesting-level-".$this->id);
|
||||
if(!$nesting_level) {
|
||||
|
||||
Reference in New Issue
Block a user