[Koha-bugs] [Bug 19276] CanBookBeIssued: unsuccessfully refers to borrower category_type X

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 8 17:49:13 CEST 2017


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

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 66997
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66997&action=edit
Bug 19276: (bug 17829 follow-up) Fix Statistic patrons behaviour

Bug 17829 must have been handle this specific case: GetMember set
category_type, but now $borrower is a Koha::Patron unblessed and does
not contain the category_type.
The fix is to call ->category->category_type on the Koha::Patron object
to be able to know if they are a statistic patrons.

Test plan:
Run the tests

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list