From 13e075ab6061ef6943441433032bc2fe63818cca Mon Sep 17 00:00:00 2001 From: Peter Thienel <thienel@data-quest.de> Date: Wed, 1 Dec 2021 19:17:26 +0100 Subject: [PATCH] set id explicitly on new Modulteil --- app/controllers/module/module.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/module/module.php b/app/controllers/module/module.php index 056566be751..2c2fa356dee 100644 --- a/app/controllers/module/module.php +++ b/app/controllers/module/module.php @@ -604,6 +604,7 @@ class Module_ModuleController extends MVVController return; } $this->modulteil = new Modulteil(); + $this->modulteil->setNewId(); $this->modulteil->modul_id = $this->modul->id; } else { $this->modul = $this->modulteil->modul; -- GitLab