[Koha-bugs] [Bug 33245] Add $patron->is_active

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 2 08:52:58 CEST 2023


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

--- Comment #17 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #13)
> (In reply to Marcel de Rooy from comment #9)
> > (In reply to Jonathan Druart from comment #8)
> > > +        $dt = dt_from_string()->subtract( days => 180 ); # default fallback
> > > Where is 180 coming from?
> > 
> > The 180 is a fallback as noted in the comment. Normally you should pass the
> > desired number of days, months to the routine.
> 
> So maybe make it mandatory?

Fixed. Throws exception now.

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


More information about the Koha-bugs mailing list