Skip to content

Commit

Permalink
Fix html content of email
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 13, 2024
1 parent db97dc3 commit 4853654
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions myaccount/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -744,9 +744,10 @@
$topic = '[Ticket '.getDolGlobalString('SELLYOURSAAS_NAME', getDolGlobalString('MAIN_INFO_SOCIETE_NOM')).' - '.$mythirdpartyaccount->name.'] '.$topic;
}

// Set $content
$content .= "<br><br>\n\n";
// Complete the $content
$content = dol_concatdesc($content, "<br><br>\n\n");

// Now we are sure that $content is HTML content.
if (!empty($mythirdpartyaccount->default_lang)) {
$content .= '<div lang="'.$mythirdpartyaccount->default_lang.'" class="cartouche">'."\n";
} else {
Expand Down

0 comments on commit 4853654

Please sign in to comment.