https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21184

--- Comment #3 from Josef Moravec <josef.mora...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to