Email invoice always says invoice 0 from company. Fixed.
[fa-stable.git] / reporting / rep107.php
index c28709919bc9198dc4d7e19cffd631b4a6dcce8a..0ac5f03b803e9e0e82392da61263f08f10de7a1b 100644 (file)
@@ -323,7 +323,7 @@ function print_invoices()
                        $rep->Font();
                        if ($email == 1)
                        {
-                               $rep->End($email, sprintf(_("Invoice %d from %s"), $myrow['reference'], get_company_pref('coy_name')));
+                               $rep->End($email, sprintf(_("Invoice %s from %s"), $myrow['reference'], get_company_pref('coy_name')));
                        }
        }
        if ($email == 0)