diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-04-18 10:39:28 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-04-18 10:39:28 +0000 |
| commit | 278cbde947d610227bd364d7c279fcc28ac91966 (patch) | |
| tree | 3946597529bfa298b93d6b64810a352caa77b399 /app | |
| parent | 89db6306e685d64bd92de475bc6924440ff97621 (diff) | |
prevent warnings, fixes #2549
Closes #2549
Merge request studip/studip!1724
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/admin/install/layout.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/install/layout.php b/app/views/admin/install/layout.php index 03e9a59..a3a227f 100644 --- a/app/views/admin/install/layout.php +++ b/app/views/admin/install/layout.php @@ -59,14 +59,14 @@ ) ?> <?php endif; ?> - <?php if (!$valid && $button_label): ?> + <?php if (!$valid && !empty($button_label)): ?> <?= Studip\Button::create($button_label, 'continue') ?> <?php elseif (!$valid): ?> <?= Studip\Button::create(_('Erneut prüfen'), 'check') ?> <?php elseif ($next_step): ?> <?= Studip\Button::create($button_label ?? (_('Weiter') . ' >>'), 'continue') ?> <?php else: ?> - <?= Studip\Button::create($button_label, 'continue', ['style' => 'visibility: hidden;']) ?> + <?= Studip\Button::create($button_label ?? '', 'continue', ['style' => 'visibility: hidden;']) ?> <?php endif; ?> </div> </div> |
