From 6893f33e4e8bfc85fec314f0714285df5c164f4b Mon Sep 17 00:00:00 2001 From: Andre Cianfarani Date: Mon, 13 Feb 2006 14:21:46 +0000 Subject: [PATCH] =?UTF-8?q?bugfix=20:=20le=20sujet=20du=20mail=20envoi=20f?= =?UTF-8?q?acture=20si=20modifi=E9=20n'=E9tait=20pas=20pris=20en=20compte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 002254fae0e..2923b74d74e 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -473,7 +473,10 @@ if ($_POST['action'] == 'send' || $_POST['action'] == 'relance') $message = $_POST['message']; if ($_POST['action'] == 'send') { - $subject = $langs->trans('Bill').' '.$fac->ref; + if(strlen($_POST['subject'])) + $subject = $_POST['subject']; + else + $subject = $langs->trans('Bill').' '.$fac->ref; $actiontypeid=9; $actionmsg ='Mail envoyé par '.$from.' à '.$sendto.'.
'; if ($message) {