Fixed problem with counting number of rows for some SQL queries displayed in db pager.
[fa-stable.git] / reporting / rep110.php
index 69457665fa19911d929f2afb9ac8ba2d8c6d458d..bfc1e4e6ccc4850b23b92172c42a62e046a93c2f 100644 (file)
@@ -99,7 +99,7 @@ function print_deliveries()
                        $rep->Font();
                        $rep->Info($params, $cols, null, $aligns);
 
-                       $contacts = get_branch_contacts($branch['branch_code'], 'delivery', $branch['debtor_no'], false);
+                       $contacts = get_branch_contacts($branch['branch_code'], 'delivery', $branch['debtor_no'], true);
                        $rep->SetCommonData($myrow, $branch, $sales_order, '', ST_CUSTDELIVERY, $contacts);
                        $rep->NewPage();