famous last mysql bug
[freeside.git] / 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)