From: ivan Date: Sun, 7 Jul 2002 14:28:13 +0000 (+0000) Subject: fixing 30/60/90/120... X-Git-Tag: freeside_1_4_0~24 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=e96628dfc2204658ed879e2858d4f49bd6b1d0f2 fixing 30/60/90/120... --- 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";