Skip to content

Commit

Permalink
fix pagefoot
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Battarel committed Apr 16, 2019
1 parent c157cfa commit ce4b67e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions htdocs/core/lib/pdf.lib.php
Expand Up @@ -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
Expand Down

0 comments on commit ce4b67e

Please sign in to comment.