fix for #410
authortipaul <tipaul>
Thu, 24 Apr 2003 18:28:40 +0000 (18:28 +0000)
committertipaul <tipaul>
Thu, 24 Apr 2003 18:28:40 +0000 (18:28 +0000)
C4/Catalogue.pm

index 188ef31..6ec26b6 100644 (file)
@@ -834,7 +834,7 @@ aqbooksellers table in the Koha database.
 sub bookseller {
   my ($searchstring)=@_;
   my $dbh = C4::Context->dbh;
-  my $query="Select * from aqbooksellers where name like '%$searchstring%' or
+  my $query="Select * from aqbooksellers where name like '$searchstring%' or
   id = '$searchstring'";
   my $sth=$dbh->prepare($query);
   $sth->execute;