From 6c57284b784707c35dc6ac76750f0e047cc9eb06 Mon Sep 17 00:00:00 2001 From: rangi Date: Tue, 6 Mar 2001 21:13:00 +0000 Subject: [PATCH] Fixing a bug in the opac search that meant that titles that contained " were caused the detail page to error --- opac-search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac-search.pl b/opac-search.pl index 10084797a3..73211f615c 100755 --- a/opac-search.pl +++ b/opac-search.pl @@ -59,7 +59,7 @@ while ($i < $count2){ $stuff[1]=~ s/\`/\'/g; my $title2=$stuff[1]; $title2=~ s/ /%20/g; - + $title2=~ s/\W//g; $stuff[1]=mklink("/cgi-bin/koha/detail.pl?bib=$stuff[2]&title=$title2&type=opac",$stuff[1]); my $word=$stuff[0]; $word=~ s/ //g; -- 2.39.5