2
0
forked from Wavyzz/dolibarr

Replace "! empty($conf->global->$" with "getDolGlobalString($"

This commit is contained in:
Laurent Destailleur
2024-07-03 20:05:29 +02:00
parent fa4247a812
commit 9af159cdd8
34 changed files with 50 additions and 50 deletions

View File

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