http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8251
Dobrica Pavlinusic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10597|0 |1 is obsolete| | --- Comment #14 from Dobrica Pavlinusic <[email protected]> --- Created attachment 10768 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10768&action=edit Patrons get incorrectly debarred Patrons get incorrectly debarred because of the use of Datetime->delta_days wich happens to always return a positive number. Added a check to inverse the delta when patron is not late. Also changed the use of Datetime->truncate function so it follows the docs, using 'day' instead of 'days' (which is used in DateTime::Duration). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
