diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-03-05 14:41:44 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-03-05 14:41:44 +0000 |
| commit | 1306c692710fdbc86da1a7c2b47efa47cd27b7fc (patch) | |
| tree | 9e1ef13406dfa1ec79c4466422fa2c3271d8763a /templates/sidebar | |
| parent | 816b401d16119b5251c4217db8cc6e26b3b71c65 (diff) | |
prevent php8 warnings, fixes #5340
Closes #5340
Merge request studip/studip!4009
Diffstat (limited to 'templates/sidebar')
| -rw-r--r-- | templates/sidebar/select-widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sidebar/select-widget.php b/templates/sidebar/select-widget.php index 169e12e..f926d51 100644 --- a/templates/sidebar/select-widget.php +++ b/templates/sidebar/select-widget.php @@ -4,7 +4,7 @@ method="<?= $method ?>"> <?= \SelectWidget::arrayToHiddenInput($params) ?> <?= (strtolower($method) == 'post') ? CSRFProtection::tokenTag() : ''; ?> - <select class="sidebar-selectlist <?= $class ?> <? if ($__is_nested): ?>nested-select<? endif; ?>" + <select class="sidebar-selectlist <?= $class ?? '' ?> <? if ($__is_nested): ?>nested-select<? endif; ?>" <? !empty($size) ? printf('size="%u"', $size) : '' ?> <?= !empty($attributes) ? arrayToHtmlAttributes($attributes) : '' ?> name="<?= sprintf('%s%s', htmlReady($name), $multiple ? '[]' : '') ?>" |
