diff options
author | ivan <ivan> | 2002-07-07 14:28:13 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-07-07 14:28:13 +0000 |
commit | e96628dfc2204658ed879e2858d4f49bd6b1d0f2 (patch) | |
tree | f7b5f67a80ddb6347ade9ac831c107f3092d10da | |
parent | 9ab3b58fe7df492c72959a40cf9c070e10995333 (diff) |
fixing 30/60/90/120...
-rwxr-xr-x | httemplate/search/cust_bill.cgi | 2 |
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"; |