Skip to content

Commit

Permalink
Fix "A non-numeric value encountered in FrameDecorator\Page" #1745
Browse files Browse the repository at this point in the history
  • Loading branch information
dvlpp authored and bsweeney committed Jun 27, 2018
1 parent 2e64373 commit 7cd6f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FrameDecorator/Page.php
Expand Up @@ -515,7 +515,7 @@ function check_page_break(Frame $frame)
// parents of $frame must fit on the page as well:
$p = $frame->get_parent();
while ($p) {
$max_y += $p->get_style()->computed_bottom_spacing();
$max_y += (float) $p->get_style()->computed_bottom_spacing();
$p = $p->get_parent();
}

Expand Down

0 comments on commit 7cd6f2c

Please sign in to comment.