Fix showing empty favicon

This commit is contained in:
grandeljay 2022-06-21 08:08:52 +02:00
parent 71f7d92295
commit 764fe59537

View file

@ -190,7 +190,7 @@ class Wish
<?= file_get_contents(ROOT . self::NO_IMAGE) ?>
<?php } ?>
<?php if (isset($this->info->favicon)) { ?>
<?php if (isset($this->info->favicon) && $this->info->favicon) { ?>
<img class="favicon" src="<?= $this->info->favicon ?>" loading="lazy" />
<?php } ?>