From 49fca571b88b2b246664ebec92edfad7a3bfbc41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Noack?= <noack@data-quest.de> Date: Thu, 31 Aug 2023 13:05:23 +0000 Subject: [PATCH] =?UTF-8?q?Resolve=20"Sperrebene=20in=20Veranstaltungen=20?= =?UTF-8?q?kann=20nicht=20ge=C3=A4ndert=20werden:=20navigation=20item=20'c?= =?UTF-8?q?ourse/admin/main'=20not=20found"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #3117 Merge request studip/studip!2100 --- app/controllers/course/management.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/course/management.php b/app/controllers/course/management.php index db2c490177b..39429e44571 100644 --- a/app/controllers/course/management.php +++ b/app/controllers/course/management.php @@ -103,7 +103,6 @@ class Course_ManagementController extends AuthenticatedController */ public function lock_action() { - Navigation::activateItem('course/admin/main'); PageLayout::setTitle(_('Sperrebene ändern')); $course = Course::findCurrent(); @@ -143,6 +142,6 @@ class Course_ManagementController extends AuthenticatedController PageLayout::postSuccess($msg); } } - $this->relocate($this->action_url('index')); + $this->relocate('course/basicdata/view'); } } -- GitLab