summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhttemplate/search/cust_pkg.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
index dee2fbdab..8c5d35be5 100755
--- a/httemplate/search/cust_pkg.cgi
+++ b/httemplate/search/cust_pkg.cgi
@@ -28,7 +28,7 @@ if ( $cgi->param('magic') && $cgi->param('magic') eq 'bill' ) {
} elsif ( $cgi->param('ending')
&& $cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/ ) {
$ending = str2time($1) + 86400;
- $range = ( $range ? ' AND ' : ' WHERE ' ). " bill <= $ending ";
+ $range .= ( $range ? ' AND ' : ' WHERE ' ). " bill <= $ending ";
}
#false laziness with below