fix pagefoot

This commit is contained in:
Christophe Battarel 2019-04-16 16:45:43 +02:00
parent c157cfad74
commit ce4b67ecaa

View File

@ -874,9 +874,10 @@ function pdf_pagefoot(&$pdf, $outputlangs, $paramfreetext, $fromcompany, $marge_
$dims=$pdf->getPageDimensions();
if ( ! empty($conf->global->$paramfreetext."_".$outputlangs->defaultlang) )
$paramfreetextlang = $paramfreetext."_".$outputlangs->defaultlang;
if ( ! empty($conf->global->$paramfreetextlang) )
{
$paramfreetext .= "_".$outputlangs->defaultlang;
$paramfreetext = $paramfreetextlang;
}
// Line of free text