diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-12-08 09:28:36 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-12-08 09:28:36 +0000 |
| commit | e4e8f62ecc99298f77a1a472b2df34db84700851 (patch) | |
| tree | a631783ffe7b47ebe3c15b47b445f999d31aba5e /templates/widgets | |
| parent | 77a819e18fda1022d8403c12c005597a6a2089b9 (diff) | |
fixes #3547
Closes #3547
Merge request studip/studip!2436
Diffstat (limited to 'templates/widgets')
| -rw-r--r-- | templates/widgets/widget-layout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/widgets/widget-layout.php b/templates/widgets/widget-layout.php index df3ff34..48f91a6 100644 --- a/templates/widgets/widget-layout.php +++ b/templates/widgets/widget-layout.php @@ -1,5 +1,5 @@ <div class="<?= $base_class ?>-widget <?= htmlReady(implode(' ', $layout_css_classes ?? [])) ?>"> -<? if ($title): ?> +<? if (!empty($title)): ?> <div class="<?= $base_class ?>-widget-header"> <?= htmlReady($title) ?> </div> |
