[0000092] Stock Sheet Report. Bad Page break.
[fa-stable.git] / reporting / includes / pdf_report.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();
        }