Parse error
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 24 Sep 2009 08:49:20 +0000 (08:49 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 24 Sep 2009 08:49:20 +0000 (08:49 +0000)
CHANGELOG.txt
sales/inquiry/customer_inquiry.php

index e9cdf99335bbb885f3b6fb4468d060bd5c6138b5..11200c2c148f4a43796813bc2d3274978f2381b6 100644 (file)
@@ -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
index 08021e261c8e5b81952155e01a3ed2ed3e9f5e73..5315aa2d988cfb02ff7cf3a4c7e59db6ba625af5 100644 (file)
@@ -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')
                {