Multiple email accounts on contacts didn't work in sales documents
[fa-stable.git] / reporting / rep113.php
index 7a612243ff6a2b313f6b92b17e6b94e4a18e0ad9..aec634e25f3da7d65e1b562d3766d7451011240a 100644 (file)
@@ -94,7 +94,7 @@ function print_credits()
                        }
                        else
                                $rep->title = _('CREDIT NOTE');
-                       $contacts = get_branch_contacts($branch['branch_code'], 'invoice', $branch['debtor_no']);
+                       $contacts = get_branch_contacts($branch['branch_code'], 'invoice', $branch['debtor_no'], false);
                        $rep->SetCommonData($myrow, $branch, $sales_order, $baccount, ST_CUSTCREDIT, $contacts);
                        $rep->NewPage();