Bug 18179: Update 1 occurrence in booksellers.pl
To test: 1 - Load http://localhost:8081/cgi-bin/koha/acqui/booksellers.pl?booksellerid=1 2 - Should get internal server erro 3 - Apply patch 4 - Reload 5 - Should not get error Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
bb22703dca
commit
cc54b596c3
|
|
@ -83,7 +83,7 @@ my $allbaskets= $query->param('allbaskets')||0;
|
|||
my @suppliers;
|
||||
|
||||
if ($booksellerid) {
|
||||
push @suppliers, Koha::Acquisition::Booksellers->find( $booksellerid );
|
||||
push @suppliers, scalar Koha::Acquisition::Booksellers->find( $booksellerid );
|
||||
} else {
|
||||
@suppliers = Koha::Acquisition::Booksellers->search({ name => $supplier });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue