From 52872b7d986a638b1bd875cbbce7bb8b02fb4552 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 5 Sep 2017 02:58:11 +0000 Subject: [PATCH] Bug 17214: [FOLLOW-UP] Using Koha::Biblios instead of GetBiblio Ready to test Signed-off-by: Katrin Fischer --- virtualshelves/shelves.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl index e16d746..192580f 100755 --- a/virtualshelves/shelves.pl +++ b/virtualshelves/shelves.pl @@ -175,7 +175,7 @@ if ( $op eq 'add_form' ) { foreach my $biblionumber (@biblionumbers) { $biblionumber =~ s/\r$//; # strip any naughty return chars next if $biblionumber eq ''; - my $biblio = GetBiblio($biblionumber); + my $biblio = Koha::Biblios->find($biblionumber); if (defined $biblio) { my $added = eval { $shelf->add_biblio( $biblionumber, $loggedinuser ); }; if ($@) { -- 2.1.4