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 17:38:23 +0100 |
| commit | abd224a343f0493e757f7b110b12a3171ab0ed49 (patch) | |
| tree | 10654cd5ed1112ae377a044176d0ee370dd90bed /templates | |
| parent | be19ad746d855d3e9a78102c966c49ddc7776d83 (diff) | |
prevent php8 warnings, fixes #5340
Closes #5340
Merge request studip/studip!4009
Diffstat (limited to 'templates')
| -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 ? '[]' : '') ?>" |
