aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/sidebar/select-widget.php2
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 ? '[]' : '') ?>"