diff options
| author | ivan <ivan> | 2004-01-21 00:04:07 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2004-01-21 00:04:07 +0000 |
| commit | 0c0cb89fbf23c575cab2cac5519b6051288a7d3f (patch) | |
| tree | efeb1e99a2de42bfebacad4afa2c41ebf39f0a7d /httemplate/search/cust_pay.cgi | |
| parent | 790f80663a0ddcb4f2496bad4b2e0bfa80bc3210 (diff) | |
don't include the _next_ day, just the full ending day
Diffstat (limited to 'httemplate/search/cust_pay.cgi')
| -rwxr-xr-x | httemplate/search/cust_pay.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_pay.cgi b/httemplate/search/cust_pay.cgi index 9eab5f82e..51dd3b340 100755 --- a/httemplate/search/cust_pay.cgi +++ b/httemplate/search/cust_pay.cgi @@ -42,7 +42,7 @@ if ( $cgi->param('magic') && $cgi->param('magic') eq '_date' ) { } if ( $cgi->param('ending') && $cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/ ) { - my $ending = str2time($1) + 86400; + my $ending = str2time($1) + 86399; push @search, " _date <= $ending "; } my $search; |
