https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15496 --- Comment #44 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Comment on attachment 88894 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88894 Bug 15496: Delete Bib After Moving Item
=head3 items
-my @items = $biblio->items(); my $items = $biblio->items();
-Returns the related Koha::Items object for this biblio in scalar context, -or list of Koha::Item objects in list context. +Returns the related Koha::Items object for this biblio
=cut
@@ -363,10 +361,7 @@ sub items {
my $items_rs = $self->_result->items;
- return - wantarray - ? Koha::Items->_new_from_dbic($items_rs)->as_list - : Koha::Items->_new_from_dbic($items_rs); + return Koha::Items->_new_from_dbic( $items_rs ); }
This was a bad rebase. We should revert the last follow-up, and fix this. I can provide such a follow-up. -- You are receiving this mail because: You are watching all bug changes.