Merge pull request #5613 from christianbeeznest/ofaj-21812

Internal: Remove pagination from certificate footer - refs BT#21812
pull/5615/head
christianbeeznest 1 year ago committed by GitHub
commit ab5fdbde41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      public/main/inc/lib/certificate.lib.php
  2. 6
      public/main/inc/lib/pdf.lib.php

@ -746,6 +746,8 @@ class Certificate extends Model
false,
null,
false,
true,
true,
true
);
}

@ -383,7 +383,8 @@ class PDF
$fileToSave = null,
$returnHtml = false,
$addDefaultCss = false,
$completeHeader = true
$completeHeader = true,
$disableFooter = false
) {
$urlAppend = '';
@ -486,6 +487,9 @@ class PDF
}
@$this->pdf->WriteHTML($document_html);
if ($disableFooter) {
$this->pdf->SetHTMLFooter('');
}
if (empty($pdf_name)) {
$output_file = 'pdf_'.date('Y-m-d-his').'.pdf';

Loading…
Cancel
Save