diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2026-03-12 09:00:55 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2026-03-12 09:00:55 +0000 |
| commit | f1c044d64500a3bd883a24ccabf1893be2a0eefa (patch) | |
| tree | 2dc20566e1446a32965705e65d2755359cdca50c | |
| parent | 7c758cdcc5fcd6e5038b118feced5240043ad18b (diff) | |
fixed logout message in case UNI_LOGOUT_ADD is an array, fixes #6353
Closes #6353
Merge request studip/studip!4815
(cherry picked from commit b85d8d09a52fcff76f45e011ee299b6afc6da5ac)
04f3f80d fixed logout message in case UNI_LOGOUT_ADD is an array
19811ed8 added code improvement
Co-authored-by: Moritz Strohm <strohm@data-quest.de>
| -rw-r--r-- | app/controllers/logout.php | 2 |
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']) ); } |
