Bug 17578: GetMemberDetails - Remove BlockExpiredPatronOpacActions
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 7 Nov 2016 15:53:25 +0000 (15:53 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 16 Dec 2016 13:12:40 +0000 (13:12 +0000)
commit492280102fdc61568e1c7fbf9f464a852ac12c2c
tree1ad87258a9927cede1a39913e74f467c324a32be
parentca5fb693627a46aac06b40d6bc2ee1d7f3781340
Bug 17578: GetMemberDetails - Remove BlockExpiredPatronOpacActions

The correct way to get the value of BlockExpiredPatronOpacActions from a
patron object is to get the patron category then call the
effective_BlockExpiredPatronOpacActions:
  $patron->category->effective_BlockExpiredPatronOpacActions

So this patch applies this change and remove this value from the
GetMemberDetails subroutine.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Members.pm
opac/opac-renew.pl
opac/opac-reserve.pl