Skip to content

Commit e7918b5

Browse files
committed
fix en la generacion pdf
1 parent ed09578 commit e7918b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PDF/TwigPDF.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function Header()
9393

9494
public function Close() {
9595
$this->position = $this->GetY();
96-
if($this->GetY() + $this->footerHeight > ($this->getNumPages() * $this->getPageHeight())) {
96+
if($this->GetY() + $this->footerHeight > ($this->getPageHeight())) {
9797
$this->AddPage();
9898
}
9999

0 commit comments

Comments
 (0)