aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/module/module.php
diff options
context:
space:
mode:
authorPeter Thienel <thienel@data-quest.de>2021-12-01 19:17:26 +0100
committerPeter Thienel <thienel@data-quest.de>2021-12-21 12:18:33 +0000
commit13e075ab6061ef6943441433032bc2fe63818cca (patch)
treee4db5974bba0e331a80c7988a64fb83e325b0497 /app/controllers/module/module.php
parent7660820a38d539ab06eafdfbf757014169baac40 (diff)
set id explicitly on new Modulteil
Diffstat (limited to 'app/controllers/module/module.php')
-rw-r--r--app/controllers/module/module.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/module/module.php b/app/controllers/module/module.php
index 056566b..2c2fa35 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;