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

prevent warning, fixes #2056

Closes #2056

Merge request studip/studip!1337
parent bd6c2bdd
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,12 @@ if ($navigation) {
<div id="current-page-structure" <? if (!($contextable)) echo 'class="contextless"'; ?>>
<? if (PageLayout::isHeaderEnabled() && Navigation::hasItem('/course') && Navigation::getItem('/course')->isActive() && $_SESSION['seminar_change_view_'.Context::getId()]) : ?>
<? if (
PageLayout::isHeaderEnabled()
&& Navigation::hasItem('/course')
&& Navigation::getItem('/course')->isActive()
&& !empty($_SESSION['seminar_change_view_'.Context::getId()])
) : ?>
<?= $this->render_partial('change_view', ['changed_status' => $_SESSION['seminar_change_view_'.Context::getId()]]) ?>
<? endif ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment