From 12fac9c7b1c17de3448fda371ec2f17abdceee92 Mon Sep 17 00:00:00 2001 From: Rasmus Fuhse <fuhse@data-quest.de> Date: Thu, 8 Feb 2024 10:27:17 +0000 Subject: [PATCH] =?UTF-8?q?Resolve=20"Reiter=20aktualisieren=20sich=20vers?= =?UTF-8?q?p=C3=A4tet"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #3729 Merge request studip/studip!2591 --- app/controllers/course/contentmodules.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/course/contentmodules.php b/app/controllers/course/contentmodules.php index 04eb8464dde..7a54ee1c3b4 100644 --- a/app/controllers/course/contentmodules.php +++ b/app/controllers/course/contentmodules.php @@ -125,8 +125,10 @@ class Course_ContentmodulesController extends AuthenticatedController $active_tool->store(); } } - //$this->redirect("course/contentmodules/trigger", ['cid' => $context->getId()]); + $this->redirect("course/contentmodules/trigger", ['cid' => $context->getId(), 'plugin_id' => $module->getPluginId()]); + return; } + $active_tool = ToolActivation::find([$context->id, Request::int('plugin_id')]); $template = $GLOBALS['template_factory']->open('tabs.php'); $template->navigation = Navigation::getItem('/course'); Navigation::getItem('/course/admin')->setActive(true); -- GitLab