Fix from Joshua for Bug 851: stripping out comma and apostrophe from search terms
authoroleonard <oleonard>
Mon, 13 Dec 2004 17:54:15 +0000 (17:54 +0000)
committeroleonard <oleonard>
Mon, 13 Dec 2004 17:54:15 +0000 (17:54 +0000)
circ/circulation.pl

index fe95dfe..ac32ccd 100755 (executable)
@@ -55,6 +55,8 @@ my $branch = getbranch($query, $branches);
 my $printer = getprinter($query, $printers);
 
 my $findborrower = $query->param('findborrower');
+$findborrower =~ s|,| |g;
+$findborrower =~ s|'| |g;
 my $borrowernumber = $query->param('borrnumber');
 my $print=$query->param('print');
 my $barcode = $query->param('barcode');