-my $suggestions_loop =
- &SearchSuggestion(
- { managedby => $borrowernumber,
- author => $author,
- title => $title,
- publishercode => $publishercode,
- STATUS => 'ACCEPTED'});
-my $vendor = GetBookSellerFromId($booksellerid);
+my $suggestions_loop = SearchSuggestion(
+ {
+ author => $author,
+ title => $title,
+ publishercode => $publishercode,
+ STATUS => 'ACCEPTED'
+ }
+);
+my $vendor = Koha::Acquisition::Bookseller->fetch({ id => $booksellerid });