Multiple email accounts on contacts didn't work in sales documents
[fa-stable.git] / reporting / rep109.php
index 181a0344ecbf582bb5a55d531e989fe1fa7e74f5..51697c3c6c1ec8bac98ae1c1b3d530d378b90093 100644 (file)
@@ -98,7 +98,7 @@ function print_sales_orders()
                else
                        $rep->title = ($print_as_quote==1 ? _("QUOTE") : _("SALES ORDER"));
 
-               $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no']);
+               $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no'], false);
                $rep->SetCommonData($myrow, $branch, $myrow, $baccount, ST_SALESORDER, $contacts);
                $rep->NewPage();