summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-07-07 14:28:13 +0000
committerivan <ivan>2002-07-07 14:28:13 +0000
commite96628dfc2204658ed879e2858d4f49bd6b1d0f2 (patch)
treef7b5f67a80ddb6347ade9ac831c107f3092d10da
parent9ab3b58fe7df492c72959a40cf9c070e10995333 (diff)
fixing 30/60/90/120...
-rwxr-xr-xhttemplate/search/cust_bill.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_bill.cgi b/httemplate/search/cust_bill.cgi
index a5d3842b9..89c91f576 100755
--- a/httemplate/search/cust_bill.cgi
+++ b/httemplate/search/cust_bill.cgi
@@ -26,7 +26,7 @@ if ( $cgi->keywords ) {
$field = "_date" if $field eq 'date';
$orderby = "ORDER BY cust_bill.$field";
push @where, "0 != $owed" if $open;
- push @where, "cust_bill._date < ". (time-86400*days) if $days;
+ push @where, "cust_bill._date < ". (time-86400*$days) if $days;
# if ( $query eq 'invnum' ) {
# $sortby = \*invnum_sort;
# $orderby = "ORDER BY cust_bill.invnum";