Multiple email accounts on contacts didn't work in sales documents
[fa-stable.git] / reporting / rep110.php
index bcb89665d280686ee01253197e153d27887844ea..4b4fec83e614ede4775a1124481c70d91dbac82d 100644 (file)
@@ -101,7 +101,7 @@ function print_deliveries()
                        }
                        else
                                $rep->title = _('DELIVERY NOTE');
-                       $contacts = get_branch_contacts($branch['branch_code'], 'delivery', $branch['debtor_no']);
+                       $contacts = get_branch_contacts($branch['branch_code'], 'delivery', $branch['debtor_no'], false);
                        $rep->SetCommonData($myrow, $branch, $sales_order, '', ST_CUSTDELIVERY, $contacts);
                        $rep->NewPage();