From f93ed16832ab705daf55ef9b0e9345a3a3b963b0 Mon Sep 17 00:00:00 2001 From: Tim Schmitz Date: Fri, 15 Dec 2023 14:26:54 +0100 Subject: [PATCH] DidacticTemplate: fix query parameter (39493) --- .../classes/Setting/class.ilDidacticTemplateSettingsGUI.php | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSettingsGUI.php b/components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSettingsGUI.php index d569ae5a9d45..cfe6d8d3b6d4 100755 --- a/components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSettingsGUI.php +++ b/components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSettingsGUI.php @@ -340,6 +340,7 @@ protected function editTemplate(?int $template_id = null, ilPropertyFormGUI $for $setting = $this->initTemplateFromRequest(); } else { $setting = ($this->setting = new ilDidacticTemplateSetting($template_id)); + $this->ctrl->setParameter($this, 'tplid', $template_id); } if (!$setting instanceof ilDidacticTemplateSetting) { $this->tpl->setOnScreenMessage('failure', $this->lng->txt('select_one'), true);