summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/search/cdr.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html
index 9426c33c3..0facc7fab 100644
--- a/httemplate/search/cdr.html
+++ b/httemplate/search/cdr.html
@@ -52,8 +52,8 @@ my $str2time_sql = str2time_sql;
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
push @search,
-my @dsearch = ( "$str2time calldate) >= $beginning ",
- "$str2time calldate) <= $ending"
+my @dsearch = ( "$str2time_sql calldate) >= $beginning ",
+ "$str2time_sql calldate) <= $ending"
);
push @search, @dsearch;
push @qsearch, @search;