Fix: Prise en compte du sujet du mail lors de l'envoi d'une propale

This commit is contained in:
activdev 2006-05-04 13:37:53 +00:00
parent ec8cf600df
commit e85d68ca0a

View File

@ -258,7 +258,9 @@ if ($_POST['action'] == 'send')
$sendtocc = $_POST['sendtocc'];
if ($_POST['action'] == 'send')
{
$subject = $langs->trans('Propal').' '.$propal->ref;
$subject = $_POST['subject'];
if($subject == '')
$subject = $langs->trans('Propal').' '.$propal->ref;
$actiontypeid=3;
$actionmsg ='Mail envoyé par '.$from.' à '.$sendto.'.<br>';
if ($message)