[0000092] Stock Sheet Report. Bad Page break.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 26 Nov 2008 23:18:51 +0000 (23:18 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 26 Nov 2008 23:18:51 +0000 (23:18 +0000)
CHANGELOG.txt
reporting/includes/pdf_report.inc

index a2259263f8de2ece680b8a202bc60808e62f2fb7..62eb694449af2f18bfcf11d2a5856988ca934f38 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+27_Nov-2008 Joe Hunt
+# [0000092] Stock Sheet Report. Bad Page break.
+$ /reporting/includes/pdf_report.inc
+
 26-Nov-2008 Joe Hunt
 # [0000091] Tax for 2 decimal places doesn't compute properly
 $ /taxes/tax_calc.inc
index f09ab57fcd3d81d3d5ab45b1b10cff6645a4540d..f69543c56827c27f46a06f1e69da14ccb01b5a33 100644 (file)
@@ -349,7 +349,7 @@ class FrontReport extends Cpdf
        function NewLine($l=1, $np=0)
        {
                $this->row -= ($l * $this->lineHeight);
-               if ($np > 0 &&  $this->row < $this->bottomMargin + ($np * $this->lineHeight))
+               if ($this->row < $this->bottomMargin + ($np * $this->lineHeight))
                        $this->Header();
        }