Skip to content

Commit

Permalink
DidacticTemplate: fix query parameter (39493)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitz-ilias committed Dec 15, 2023
1 parent 7dd34d0 commit f93ed16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f93ed16

Please sign in to comment.