aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2026-03-12 10:05:33 +0100
committerMoritz Strohm <strohm@data-quest.de>2026-03-12 10:05:33 +0100
commitddb77fbc28e3768ef4d66ef2d6bc4d6f02cdf368 (patch)
treecf4d537dd1f54935cba307a24d1de592cb4dddba
parent164946d33b62d6091db2e2afa83a1fd2ee7a0c56 (diff)
fixed logout message in case UNI_LOGOUT_ADD is an array, fixes #6353
-rw-r--r--public/logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/logout.php b/public/logout.php
index c2722a2..6a5ac18 100644
--- a/public/logout.php
+++ b/public/logout.php
@@ -69,7 +69,7 @@ if ($auth->auth['uid'] !== 'nobody') {
PageLayout::postSuccess(
_('Sie sind nun aus dem System abgemeldet.'),
- array_filter([$GLOBALS['UNI_LOGOUT_ADD']])
+ array_filter((array) $GLOBALS['UNI_LOGOUT_ADD'])
);
} else {
$sess->delete();