fix: fix banner showing when there's no banner

This commit is contained in:
Floorb 2023-12-18 00:12:28 -05:00
parent 401c76e0e7
commit 1803631ea9

View file

@ -2,7 +2,7 @@
<main class="container">
<div class="bd-duo">
<div class="bd-lead">
<?php if (isset($global_site_info['banner'])): ?>
<?php if (!empty($global_site_info['banner'])): ?>
<div class="notification is-primary">
<?= $global_site_info['banner'] /* Intentionally not escaped to allow HTML */ ?>
</div>