aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2026-03-12 08:59:29 +0000
committerMoritz Strohm <strohm@data-quest.de>2026-03-12 08:59:29 +0000
commitb85d8d09a52fcff76f45e011ee299b6afc6da5ac (patch)
tree04a08a435c66b53d5bb4de09f8452d77c0753240 /app
parent5c3d55b83068ce656fe238d7e12675a2677e6149 (diff)
fixed logout message in case UNI_LOGOUT_ADD is an array, fixes #6353
Closes #6353 Merge request studip/studip!4815
Diffstat (limited to 'app')
-rw-r--r--app/controllers/logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/logout.php b/app/controllers/logout.php
index cf0409d..f793900 100644
--- a/app/controllers/logout.php
+++ b/app/controllers/logout.php
@@ -67,7 +67,7 @@ class LogoutController extends AuthenticatedController
}, '__invoke', 'PageCloseWillExecute');
PageLayout::postSuccess(
_('Sie sind nun aus dem System abgemeldet.'),
- array_filter([$GLOBALS['UNI_LOGOUT_ADD']])
+ array_filter((array) $GLOBALS['UNI_LOGOUT_ADD'])
);
}