Skip to content
Snippets Groups Projects
Commit dff46b31 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

allow UNI_LOGOUT_ADD to be an array, closes #3092

Closes #3092

Merge request studip/studip!2081
parent 6237f9aa
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment