Fix: Prise en compte du sujet du mail lors de l'envoi d'une propale
This commit is contained in:
parent
ec8cf600df
commit
e85d68ca0a
@ -258,7 +258,9 @@ if ($_POST['action'] == 'send')
|
|||||||
$sendtocc = $_POST['sendtocc'];
|
$sendtocc = $_POST['sendtocc'];
|
||||||
if ($_POST['action'] == 'send')
|
if ($_POST['action'] == 'send')
|
||||||
{
|
{
|
||||||
$subject = $langs->trans('Propal').' '.$propal->ref;
|
$subject = $_POST['subject'];
|
||||||
|
if($subject == '')
|
||||||
|
$subject = $langs->trans('Propal').' '.$propal->ref;
|
||||||
$actiontypeid=3;
|
$actiontypeid=3;
|
||||||
$actionmsg ='Mail envoyé par '.$from.' à '.$sendto.'.<br>';
|
$actionmsg ='Mail envoyé par '.$from.' à '.$sendto.'.<br>';
|
||||||
if ($message)
|
if ($message)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user