Skip to content

Commit

Permalink
Add asset url to additional logo paths (#9768)
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoh authored Feb 11, 2025
1 parent 0675156 commit 5e57ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions program/include/rcmail_output_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -1507,9 +1507,9 @@ protected function xml_command($matches)

foreach ($logo_types as $type) {
if (($template_logo = $this->get_template_logo($type)) !== null) {
$additional_logos[$type] = $this->abs_url($template_logo);
$additional_logos[$type] = $this->asset_url($template_logo, true);
} elseif (!empty($attrib['data-src-' . $type])) {
$additional_logos[$type] = $this->abs_url($attrib['data-src-' . $type]);
$additional_logos[$type] = $this->asset_url($attrib['data-src-' . $type], true);
}
}

Expand Down

0 comments on commit 5e57ef8

Please sign in to comment.