diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-04-01 09:07:31 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-04-01 11:26:24 +0200 |
| commit | 861c32e6889f33faff7f8fbb69d287f9e57d478b (patch) | |
| tree | 76cabe52a2cfe6afd5ac5eb7094c70c5174b306a /templates/sidebar | |
| parent | fbffec70730f8247b04d94cdcae6f4971b78b91e (diff) | |
prevent php8 warnings, fixes #5441
Closes #5441
Merge request studip/studip!4084
Diffstat (limited to 'templates/sidebar')
| -rw-r--r-- | templates/sidebar/room-search-widget.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/sidebar/room-search-widget.php b/templates/sidebar/room-search-widget.php index e54e530..7838964 100644 --- a/templates/sidebar/room-search-widget.php +++ b/templates/sidebar/room-search-widget.php @@ -17,10 +17,7 @@ <?= $this->render_partial( 'sidebar/room-search-criteria.php', [ - 'criteria' => ( - $selected_criteria['room_type'] - ?: $criteria['room_type'] - ), + 'criteria' => $selected_criteria['room_type'] ?? $criteria['room_type'], 'removable' => false ] ) ?> |
