summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pkg.cgi
diff options
context:
space:
mode:
authorivan <ivan>2002-05-04 00:59:08 +0000
committerivan <ivan>2002-05-04 00:59:08 +0000
commit1c773e927ea1bc90ec94873f801d9b3edb57acd7 (patch)
tree780c9a8d47dfe51448806ea42a89ef44867f640a /httemplate/search/cust_pkg.cgi
parentf15ded7fdcbe0869d1e51e2dab1cc4409c0ce92f (diff)
fix ranges on cust_pkg search
Diffstat (limited to 'httemplate/search/cust_pkg.cgi')
-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