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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #89666|0                           |1
        is obsolete|                            |

--- Comment #2 from Jonathan Druart <[email protected]> 
---
Created attachment 89669
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89669&action=edit
Bug 22895: (bug 22650 follow-up) Correct itemnumber call in placerequest.pl

Backport of 22650 makes an object call to an item hashref retrieved by get
item:

  94             if ( CanItemBeReserved($borrower->{'borrowernumber'},
$item->itemnumber, $branch)->{status} eq 'OK' ) {

Should be $item->{itemnumber}

To test:
1 - Try to place an item level hold
2 - It fails
3 - Aply patch
4 - Try again
5 - It works!

Signed-off-by: Jonathan Druart <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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