[Koha-bugs] [Bug 29116] request.pl re-invents Koha::Patron::is_expired accessor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 28 09:22:11 CEST 2021


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

Fridolin Somers <fridolin.somers at biblibre.com> changed:

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

--- Comment #2 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 125391
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125391&action=edit
Bug 29116: Use a pre-existing accessor instead of reimplementing it

We can use the Koha::Patron::is_expired accessor instead of re-writing
it in request.pl.

To test:
 1) Make that a warning is being shown with and without this patch
    when placing a hold to an expired patron account

Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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


More information about the Koha-bugs mailing list