grey out inactive text boxes as well as disable them (IE doesn't grey out disabled...
[freeside.git] / httemplate / search / cust_pay.cgi
index 9eab5f8..51dd3b3 100755 (executable)
@@ -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;