aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-10-17 14:50:20 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2022-10-17 14:50:20 +0000
commit4695506d9ea6d0dce90e16f12ae0bb215ce1a01b (patch)
treea5735282a9fa4f1a5f7112608f5b3310584eb16a /templates/sidebar
parent169c42d48f6c9a3e9981dea4713ba0b9176dd41e (diff)
fix php8 warnings, fixes #1679
Closes #1679 Merge request studip/studip!1084
Diffstat (limited to 'templates/sidebar')
-rw-r--r--templates/sidebar/room-search-criteria-seats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sidebar/room-search-criteria-seats.php b/templates/sidebar/room-search-criteria-seats.php
index a947bb1..095a019 100644
--- a/templates/sidebar/room-search-criteria-seats.php
+++ b/templates/sidebar/room-search-criteria-seats.php
@@ -17,7 +17,7 @@
<input type="checkbox" class="special-item-switch" value="1"
title="<?= _('Kriterium ausgewählt'); ?>"
name="<?= htmlReady($criteria['name'] . '_enabled')?>"
- <?= $criteria['enabled'] ? 'checked' : ''?>>
+ <?= !empty($criteria['enabled']) ? 'checked' : ''?>>
<?= htmlReady($criteria['title']) ?>
</label>
<div class="hgroup special-item-content">