Add options in function pdf_pagefoot & pdf_pagehead of pdf.lib.php - Revision 2

This commit is contained in:
root 2023-02-11 18:02:28 +01:00
parent 329d8d01a6
commit 728c2ef238

View File

@ -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
}
}