famous last mysql bug
authorivan <ivan>
Mon, 29 Oct 2007 12:03:06 +0000 (12:03 +0000)
committerivan <ivan>
Mon, 29 Oct 2007 12:03:06 +0000 (12:03 +0000)
httemplate/search/report_receivables.cgi

index e68eb82..b4d41dd 100755 (executable)
@@ -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)