From: ivan Date: Mon, 29 Oct 2007 12:03:06 +0000 (+0000) Subject: famous last mysql bug X-Git-Tag: TRIXBOX_2_6~254 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=cef858577f15128880dacbc944f20aa3142919ec famous last mysql bug --- diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi index e68eb8229..b4d41dda8 100755 --- a/httemplate/search/report_receivables.cgi +++ b/httemplate/search/report_receivables.cgi @@ -82,7 +82,7 @@ sub owed { #handle start and end ranges - my $str2time = str2time; + my $str2time = str2time_sql; #24h * 60m * 60s push @where, "cust_bill._date <= $str2time now() ) - ". ($start * 86400)