Skip to content
Snippets Groups Projects
Commit 3087b012 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #4324

Closes #4324

Merge request studip/studip!3124
parent 5bb2d3c4
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ $lang_attr = str_replace('_', '-', $_SESSION['_language']);
'OPENGRAPH_ENABLE' => Config::get()->OPENGRAPH_ENABLE,
'COURSEWARE_CERTIFICATES_ENABLE' => Config::get()->COURSEWARE_CERTIFICATES_ENABLE,
'PERSONAL_NOTIFICATIONS_AUDIO_DEACTIVATED' =>
(bool) User::findCurrent()->getConfiguration()->PERSONAL_NOTIFICATIONS_AUDIO_DEACTIVATED,
(bool) User::findCurrent()?->getConfiguration()->PERSONAL_NOTIFICATIONS_AUDIO_DEACTIVATED,
]) ?>,
}
</script>
......@@ -97,7 +97,7 @@ $lang_attr = str_replace('_', '-', $_SESSION['_language']);
<system-notification-manager
id="system-notifications"
:notifications='<?= htmlReady(json_encode(PageLayout::getMessages())) ?>'
placement="<?= User::findCurrent()->getConfiguration()->SYSTEM_NOTIFICATIONS_PLACEMENT ?>"></system-notification-manager>
placement="<?= User::findCurrent()?->getConfiguration()->SYSTEM_NOTIFICATIONS_PLACEMENT ?? 'topcenter' ?>"></system-notification-manager>
</main>
<!-- End main content -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment