From 68babd2d144debdc16a783f78c13be4a39d714bb Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 13 Feb 2015 22:46:35 +0100 Subject: [PATCH] Rerun of rep107. Currency filter not working in documents. --- reporting/rep107.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporting/rep107.php b/reporting/rep107.php index 6e0307ea..d3f74dd7 100644 --- a/reporting/rep107.php +++ b/reporting/rep107.php @@ -75,7 +75,7 @@ function print_invoices() $sign = 1; $myrow = get_customer_trans($i, ST_SALESINVOICE); - if($customer != ALL_TEXT && $myrow['debtor_no'] != $customer) { + if ($customer && $myrow['debtor_no'] != $customer) { continue; } if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) { -- 2.30.2