FIX Missing a new line into log of sent emails
This commit is contained in:
parent
2c829e7cb6
commit
059466030a
@ -4525,7 +4525,7 @@ function dol_textishtml($msg,$option=0)
|
||||
}
|
||||
|
||||
/**
|
||||
* Concat 2 descriptions (second one after first one with a new line separator if required)
|
||||
* Concat 2 descriptions with a new line between them (second operand after first one with appropriate new line separator)
|
||||
* text1 html + text2 html => text1 + '<br>' + text2
|
||||
* text1 html + text2 txt => text1 + '<br>' + dol_nl2br(text2)
|
||||
* text1 txt + text2 html => dol_nl2br(text1) + '<br>' + text2
|
||||
|
||||
@ -683,7 +683,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
||||
$attachs=$_SESSION['listofnames'];
|
||||
if ($attachs && strpos($action,'SENTBYMAIL'))
|
||||
{
|
||||
$object->actionmsg.="\n".$langs->transnoentities("AttachedFiles").': '.$attachs;
|
||||
$object->actionmsg=dol_concatdesc($object->actionmsg, "\n".$langs->transnoentities("AttachedFiles").': '.$attachs);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user