[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 Oct 10 10:48:57 CEST 2021


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

Joonas Kylmälä <joonas.kylmala at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Passed QA

--- Comment #6 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
(In reply to Jonathan Druart from comment #5)
> 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?

There's actually more to it, I had opened earlier early a separate bug report
for that with a patch: bug 29115. I'm putting this back to PQA.

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


More information about the Koha-bugs mailing list