mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix: The \n in lang templates were not correctly interpreted in email forms.
This commit is contained in:
@@ -444,6 +444,7 @@ class FormMail
|
||||
|
||||
$defaultmessage=make_substitutions($defaultmessage,$this->substit,$langs);
|
||||
if (isset($_POST["message"])) $defaultmessage=$_POST["message"];
|
||||
$defaultmessage=str_replace('\n',"\n",$defaultmessage);
|
||||
|
||||
print "<tr>";
|
||||
print "<td width=\"180\" valign=\"top\">".$langs->trans("MailText")."</td>";
|
||||
|
||||
Reference in New Issue
Block a user