FIX#21093

This commit is contained in:
Faustin
2022-06-11 00:18:38 +02:00
parent 9731f0658a
commit ef959ecddd
25 changed files with 79 additions and 4 deletions

View File

@@ -751,6 +751,9 @@ class pdf_standard_myobject extends ModelePDFMyObject
if (empty($conf->global->MAIN_PDF_DONOTREPEAT_HEAD)) {
$this->_pagehead($pdf, $object, 0, $outputlangs);
}
if (!empty($tplidx)) {
$pdf->useTemplate($tplidx);
}
}
if (isset($object->lines[$i + 1]->pagebreak) && $object->lines[$i + 1]->pagebreak) {