Temp fix warnings on num_domains expiring / num_domains_expired vars not defined yet

This commit is contained in:
Marcus Hill 2025-03-02 09:50:50 +00:00
parent 2908568e2a
commit 0ab9a1c97d
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@
<?php
if ($num_domains > 0) { ?>
<span class="right badge <?php if ($num_domains_expiring > 0) { ?> badge-warning text-dark<?php } ?> <?php if ($num_domains_expired > 0) { ?> badge-danger <?php } ?> text-white"><?php echo $num_domains; ?></span>
<span class="right badge <?php if (isset($num_domains_expiring)) { ?> badge-warning text-dark<?php } ?> <?php if (isset($num_domains_expired)) { ?> badge-danger <?php } ?> text-white"><?php echo $num_domains; ?></span>
<?php } ?>
</p>
</a>