Fixing a bug in the opac search that meant that titles that contained " were
authorrangi <rangi>
Tue, 6 Mar 2001 21:13:00 +0000 (21:13 +0000)
committerrangi <rangi>
Tue, 6 Mar 2001 21:13:00 +0000 (21:13 +0000)
caused the detail page to error

opac-search.pl

index 1008479..73211f6 100755 (executable)
@@ -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;