FIX Bad var for substitution of free text

This commit is contained in:
Laurent Destailleur 2018-02-24 14:01:52 +01:00
parent 38d1fc27e0
commit e2e0f23d29

View File

@ -317,7 +317,7 @@ class doc_generic_contract_odt extends ModelePDFContract
// Line of free text
$newfreetext='';
$paramfreetext='contract_FREE_TEXT';
$paramfreetext='CONTRACT_FREE_TEXT';
if (! empty($conf->global->$paramfreetext))
{
$newfreetext=make_substitutions($conf->global->$paramfreetext,$tmparray);