diff --git a/templates/index_nobody.php b/templates/index_nobody.php index 8376cb73390f4e87032ce3e79f28cb7a3dda56a3..aa33f1d15f61b5422dd251245ed494f137072a82 100644 --- a/templates/index_nobody.php +++ b/templates/index_nobody.php @@ -22,7 +22,10 @@ if ($bg_mobile) { <!-- Startseite (nicht eingeloggt) --> <main id="content"> <? if ($logout): ?> - <?= MessageBox::success(_('Sie sind nun aus dem System abgemeldet.'), array_filter([$GLOBALS['UNI_LOGOUT_ADD']])) ?> + <?= MessageBox::success( + _('Sie sind nun aus dem System abgemeldet.'), + array_filter((array) $GLOBALS['UNI_LOGOUT_ADD']) + ) ?> <? endif; ?> <div id="background-desktop" style="background: url(<?= $bg_desktop ?>) no-repeat top left/cover;"></div>