Fix showing empty favicon
This commit is contained in:
parent
71f7d92295
commit
764fe59537
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ class Wish
|
||||||
<?= file_get_contents(ROOT . self::NO_IMAGE) ?>
|
<?= file_get_contents(ROOT . self::NO_IMAGE) ?>
|
||||||
<?php } ?>
|
<?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" />
|
<img class="favicon" src="<?= $this->info->favicon ?>" loading="lazy" />
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue