[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
Sun Sep 26 18:15:57 CEST 2021


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

--- Comment #1 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 125341
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125341&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

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


More information about the Koha-bugs mailing list