aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/logout.php b/public/logout.php
index 6a5ac18..c2722a2 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((array) $GLOBALS['UNI_LOGOUT_ADD'])
+ array_filter([$GLOBALS['UNI_LOGOUT_ADD']])
);
} else {
$sess->delete();