https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21184 --- Comment #3 from Josef Moravec <josef.moravec@gmail.com> --- Comment on attachment 77589 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77589 Bug 21184: Replace C4::Items::GetBarcodeFromItemnumber calls Review of attachment 77589: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=21184&attachment=77589) ----------------------------------------------------------------- ::: C4/SIP/ILS/Patron.pm @@ +316,5 @@
my $self = shift; my $item_arr = $self->x_items('hold_items', @_); foreach my $item (@{$item_arr}) { + my $item = Koha::Items->find($item->{itemnumber}); + $item->{barcode} = $item ? $item->barcode : undef;
I think there is too many variables called $item ;) -- You are receiving this mail because: You are watching all bug changes.