projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ranges on cust_pkg search
[freeside.git]
/
httemplate
/
search
/
cust_pkg.cgi
diff --git
a/httemplate/search/cust_pkg.cgi
b/httemplate/search/cust_pkg.cgi
index
dee2fbd
..
8c5d35b
100755
(executable)
--- 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;
} 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
}
#false laziness with below