Add options in function pdf_pagefoot & pdf_pagehead of pdf.lib.php - Revision 2
This commit is contained in:
parent
329d8d01a6
commit
728c2ef238
@ -731,6 +731,9 @@ function pdf_pagehead(&$pdf, $outputlangs, $page_height)
|
||||
$pdf->SetAutoPageBreak(1, 0); // Restore pagebreak
|
||||
}
|
||||
}
|
||||
if (!empty($conf->global->MAIN_ADD_PDF_BACKGROUND) && ($conf->global->MAIN_ADD_PDF_BACKGROUND != '-1')) {
|
||||
$pdf->SetPageMark(); // This option avoid to have the images missing on some pages
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user