diff --git a/app/views/admin/plugin/manifest.php b/app/views/admin/plugin/manifest.php
index 7ecc6e4a7453d11dfc9d6c41bfda6e8748b0f0f7..17d9bae258430a11b7ef8896d3958bd35d33d3a5 100644
--- a/app/views/admin/plugin/manifest.php
+++ b/app/views/admin/plugin/manifest.php
@@ -22,7 +22,7 @@
 
     <dt><?= _('Beschreibung') ?></dt>
     <dd>
-    <? if ($manifest['description']): ?>
+    <? if (!empty($manifest['description'])): ?>
         <?= htmlReady($manifest['description']) ?>
     <? else: ?>
         (<?= _('keine Beschreibung vorhanden') ?>)
diff --git a/app/views/calendar/schedule/entry.php b/app/views/calendar/schedule/entry.php
index 66fe58edbb9a76b9109b6e0edcd85c803c5bdbab..54d44e9cef40c4f8f6c315305598ae8b07721074 100644
--- a/app/views/calendar/schedule/entry.php
+++ b/app/views/calendar/schedule/entry.php
@@ -1,9 +1,9 @@
-<? 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 ?>