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

--- Comment #20 from David Cook <[email protected]> ---
For /cgi-bin/koha/circ/circulation.pl?borrowernumber=1 the immediate error
appears to be the $patron->is_expired check.

in Koha::Patron::is_expired at /kohadevbox/koha/Koha/Patron.pm line 914

return 1 if dt_from_string( $self->dateexpiry ) < dt_from_string->truncate( to
=> 'day' );

--

There's a couple of ways this could be fixed. The comparison can either be done
using UTC or floating timezone timestamps. 

Yikes, there's some scary stuff in dt_from_string where you could actually wind
up doing a datetime comparison across different timezones. Not good.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to