Merge pull request #9594 from Wachizungu/fix-object-templates-misp-logo-display

fix: [UI] Fix MISP logo display on object templates index
pull/9600/head
Jakub Onderka 2024-02-28 13:53:34 +01:00 committed by GitHub
commit 23c6ad9091
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ foreach ($list as $template):
<?php
if ($template['ObjectTemplate']['fixed']):
?>
<img src="<?php echo $baseurl;?>/img/orgs/MISP.png" width="24" height="24" style="padding-bottom:3px;" />
<?php echo '<img src="' . $this->Image->base64(APP . 'files/img/orgs/MISP.png') . '" alt="' . __('MISP logo') . '" width="24" height="24" style="padding-bottom:3px" onerror="this.style.display=\'none\';">';?>
<?php
endif;
?>