From f1c044d64500a3bd883a24ccabf1893be2a0eefa Mon Sep 17 00:00:00 2001 From: Moritz Strohm Date: Thu, 12 Mar 2026 09:00:55 +0000 Subject: 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 --- app/controllers/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) ); } -- cgit v1.0