From fec2d86ec5fa954d016aa672f17eedcf4271d014 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 7 Jul 2016 18:56:10 +0200 Subject: [PATCH] Fix substitution of __THIRDPARTY_NAME__ failed --- htdocs/societe/soc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index fb758c52f29..0d6283db216 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -2444,6 +2444,8 @@ else $formmail->withdeliveryreceipt=1; $formmail->withcancel=1; // Tableau des substitutions + //$formmail->setSubstitFromObject($object); + $formmail->substit['__THIRDPARTY_NAME__']=$object->name; $formmail->substit['__SIGNATURE__']=$user->signature; $formmail->substit['__PERSONALIZED__']=''; $formmail->substit['__CONTACTCIVNAME__']='';