A couple of additional fixes to changed document reports.
[fa-stable.git] / reporting / rep107.php
index e5a832cc44899ab46c3c2ac084ee636178aff766..99c58a5171d7a0eb3277af3b28b5d01c8f968e1a 100644 (file)
@@ -202,7 +202,7 @@ function print_invoices()
                        $rep->Font();
                        if ($email == 1)
                        {
-                               $rep->End($email, '', $myrow, ST_SALESINVOICE);
+                               $rep->End($email);
                        }
        }
        if ($email == 0)