[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
Thu Oct 7 11:06:44 CEST 2021


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA
                 CC|                            |jonathan.druart+koha at gmail.
                   |                            |com

--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Same file:

266         my $expiry_date = $enrollment->patron->dateexpiry;
267         $member->{expiry} = 0; # flag set if patron account has expired
268         if ($expiry_date and
269             Date_to_Days(split /-/,$date) > Date_to_Days(split
/-/,$expiry_date)) {
270             $member->{expiry} = 1;
271         }

Can we fix that one as well please?

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


More information about the Koha-bugs mailing list