Skip to content
Snippets Groups Projects
Commit 273b9029 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: mb_strtolower function does not exists on all PHP versions.

Conflicts:
	htdocs/core/lib/pdf.lib.php
parent b182b2ff
No related branches found
No related tags found
No related merge requests found
......@@ -835,7 +835,7 @@ function pdf_pagefoot(&$pdf,$outputlangs,$paramfreetext,$fromcompany,$marge_bass
}
// Show page nb only on iso languages (so default Helvetica font)
if (pdf_getPDFFont($outputlangs) == 'Helvetica')
if (strtolower(pdf_getPDFFont($outputlangs)) == 'helvetica')
{
$pdf->SetXY(-20,-$posy);
//print 'xxx'.$pdf->PageNo().'-'.$pdf->getAliasNbPages().'-'.$pdf->getAliasNumPage();exit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment