[Koha-bugs] [Bug 8251] Patrons are systematically debarred at checkin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 15 19:59:20 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8251

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10290|0                           |1
        is obsolete|                            |

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 10308
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10308&action=edit
Bug 8251 - Patrons get incorrectly debarred

Patrons get incorrectly debarred because of the use of Datetime->delta_days
wich happens to always return a positive number.

Also changed the use of Datetime->truncate function so it follows the docs,
using 'day' instead of 'days' (which is used in DateTime::Duration).

This patch has been tested against master.

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


More information about the Koha-bugs mailing list