[freeside-commits] freeside/httemplate/search cust_svc.html, 1.2,
1.3
Ivan,,,
ivan at wavetail.420.am
Sun Jan 21 01:13:51 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv16277
Modified Files:
cust_svc.html
Log Message:
trim leading & trailing whitespace from service searches
Index: cust_svc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_svc.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cust_svc.html 2 Jan 2007 21:46:33 -0000 1.2
+++ cust_svc.html 21 Jan 2007 09:13:49 -0000 1.3
@@ -39,6 +39,7 @@
if ( length( $cgi->param('search_svc') ) ) {
my $string = $cgi->param('search_svc');
+ $string =~ s/(^\s+|\s+$)//; #trim leading & trailing whitespace
# implement fuzzy searching in subclasses too at some point?
# service searching maybe shouldn't be fuzzy...
More information about the freeside-commits
mailing list