Skip to content
Snippets Groups Projects
Commit cfd8022d authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

prevent php8 warnings, fixes #2215

Closes #2215

Merge request studip/studip!1445
parent 3307363f
No related branches found
No related tags found
1 merge request!4Draft: Icon creation
......@@ -22,7 +22,7 @@
<dt><?= _('Beschreibung') ?></dt>
<dd>
<? if ($manifest['description']): ?>
<? if (!empty($manifest['description'])): ?>
<?= htmlReady($manifest['description']) ?>
<? else: ?>
(<?= _('keine Beschreibung vorhanden') ?>)
......
<? if (!empty($show_entry) && in_array($show_entry['type'], ['sem', 'virtual']) !== false) : ?>
<? if (!empty($show_entry) && in_array($show_entry['type'], ['sem', 'virtual'])): ?>
<?= $this->render_partial('calendar/schedule/_entry_course.php') ?>
<? unset($this->show_entry) ?>
<? elseif ($show_entry && $show_entry['type'] == 'inst') : ?>
<? unset($show_entry) ?>
<? elseif (!empty($show_entry) && $show_entry['type'] === 'inst'): ?>
<?= $this->render_partial('calendar/schedule/_entry_inst.php') ?>
<? unset($this->show_entry) ?>
<? unset($show_entry) ?>
<? else : ?>
<?= $this->render_partial('calendar/schedule/_entry_schedule.php') ?>
<? endif ?>
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