From 06d6198535a0256c142b8dd83d8d9687b6c10429 Mon Sep 17 00:00:00 2001 From: anubis Date: Thu, 15 Jan 2009 21:32:20 -0500 Subject: [PATCH] Change SQL to use "AND" rather than "&&" (equivalent in MySQL). --- modules/invoice/invoice.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/invoice/invoice.inc.php b/modules/invoice/invoice.inc.php index 11da9971..7d58ee92 100644 --- a/modules/invoice/invoice.inc.php +++ b/modules/invoice/invoice.inc.php @@ -1188,7 +1188,7 @@ class invoice $currency_symbol=$C_list->format_currency[DEFAULT_CURRENCY]['symbol']; # Get the paid/due invoice statistics - $rs = $db->Execute($sql=sqlSelect($db,"invoice","date_orig,total_amt,billing_status,refund_status,billed_amt,suspend_billing","date_orig >= $start && date_orig <= $end")); + $rs = $db->Execute($sql=sqlSelect($db,"invoice","date_orig,total_amt,billing_status,refund_status,billed_amt,suspend_billing","date_orig >= $start and date_orig <= $end")); if($rs && $rs->RecordCount()) { while(!$rs->EOF) { $day = date("j", $rs->fields['date_orig']);