diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-03-07 13:41:28 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-03-07 13:41:28 +0000 |
| commit | 53093b02c8ba360c21330b0c77595d3cc62ea60c (patch) | |
| tree | 4e38f1455a145784a7284fe5e2c0d10a98483a0f /templates/sidebar | |
| parent | 21a9e665414b4befccf40222c5c0e02f19b055fb (diff) | |
fixes #3782
Closes #3782
Merge request studip/studip!2654
Diffstat (limited to 'templates/sidebar')
| -rw-r--r-- | templates/sidebar/room-search-criteria.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/sidebar/room-search-criteria.php b/templates/sidebar/room-search-criteria.php index 3830681..afe4f9e 100644 --- a/templates/sidebar/room-search-criteria.php +++ b/templates/sidebar/room-search-criteria.php @@ -64,9 +64,9 @@ <?= htmlReady($criteria['title']) ?> <select name="<?= htmlReady($criteria['name']) ?>"> <? if (is_array($criteria['options'])): ?> - <? foreach ($criteria['options'] as $title): ?> - <option value="<?= htmlReady($title) ?>" - <?= $title == $criteria['value'] ? 'selected' : '' ?> + <? foreach ($criteria['options'] as $value => $title): ?> + <option value="<?= htmlReady($value) ?>" + <?= $value == $criteria['value'] ? 'selected' : '' ?> > <?= htmlReady($title) ?> </option> |
