FIX Bad var for substitution of free text

This commit is contained in:
Laurent Destailleur 2018-02-24 14:01:52 +01:00
parent 03d9bf1376
commit 619e0d3792

View File

@ -324,7 +324,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,$substitutionarray);