From ec09689a87c0b0bac3c24e782ae4e5dfe7a6248e Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 24 Sep 2009 08:49:20 +0000 Subject: [PATCH] Parse error --- CHANGELOG.txt | 4 ++++ sales/inquiry/customer_inquiry.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e9cdf993..11200c2c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +24-Sep-2009 Joe Hunt +# Parse error +$ /sales/inquiry/customer_inquiry.php + 23-Sep-2009 Janusz Dobrowolski # Fixed crash for all transaction types report $ /reporting/rep702.php diff --git a/sales/inquiry/customer_inquiry.php b/sales/inquiry/customer_inquiry.php index 08021e26..5315aa2d 100644 --- a/sales/inquiry/customer_inquiry.php +++ b/sales/inquiry/customer_inquiry.php @@ -237,7 +237,7 @@ function check_overdue($row) { if ($_POST['filterType'] == '1') { - $sql .= " AND (trans.type = ".ST_SALESINVOICE." OR trans.type = ST_BANKPAYMENT) "; + $sql .= " AND (trans.type = ".ST_SALESINVOICE." OR trans.type = ".ST_BANKPAYMENT.") "; } elseif ($_POST['filterType'] == '2') { -- 2.30.2