Fix breaks on edge
This commit is contained in:
parent
e53858a735
commit
2b85f401af
1 changed files with 1 additions and 1 deletions
|
|
@ -626,7 +626,7 @@ class pdf_cyan extends ModelePDFPropales
|
|||
|
||||
|
||||
// We suppose that a too long description or photo were moved completely on next page
|
||||
if ($afterPosData['page'] > $pageposbefore && empty($showpricebeforepagebreak) || ($curY + 9) > ($this->page_hauteur - $heightforfooter)) {
|
||||
if ($afterPosData['page'] > $pageposbefore && (empty($showpricebeforepagebreak) || ($curY + 4) > ($this->page_hauteur - $heightforfooter))) {
|
||||
$pdf->setPage($afterPosData['page']);
|
||||
$curY = $tab_top_newpage;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue