aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/basicdata.php
diff options
context:
space:
mode:
authorThomas Hackl <hackl@data-quest.de>2024-06-18 12:18:17 +0000
committerThomas Hackl <hackl@data-quest.de>2024-06-18 12:18:17 +0000
commit26e02e32841671fa162cf11cb0fa925aa4452da5 (patch)
treee6dc3f0264f966b6095d967828f7971595d27060 /app/controllers/course/basicdata.php
parentab3352dec1bc28b5b828b35afb5f2d974d6c3fb1 (diff)
Resolve "Neues Benachrichtungssystem für Stud.IP"
Closes #660 Merge request studip/studip!2557
Diffstat (limited to 'app/controllers/course/basicdata.php')
-rw-r--r--app/controllers/course/basicdata.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/course/basicdata.php b/app/controllers/course/basicdata.php
index f4f50fe..97ec053 100644
--- a/app/controllers/course/basicdata.php
+++ b/app/controllers/course/basicdata.php
@@ -445,6 +445,14 @@ class Course_BasicdataController extends AuthenticatedController
$widget = new CourseManagementSelectWidget();
$sidebar->addWidget($widget);
}
+
+ foreach ($this->flash['msg'] ?? [] as $msg) {
+ match ($msg[0]) {
+ 'msg' => PageLayout::postSuccess($msg[1]),
+ 'error' => PageLayout::postError($msg[1]),
+ 'info' => PageLayout::postInfo($msg[1]),
+ };
+ }
}
/**