]> git.koha-community.org Git - koha.git/commit
Bug 26232: Empty smart rule fine grace period
authorDidier Gautheron <didier.gautheron@biblibre.com>
Tue, 18 Aug 2020 05:40:50 +0000 (07:40 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 25 Oct 2020 23:04:18 +0000 (00:04 +0100)
commit7e66d6d190af4bd27739bdfe88049899f927c123
tree808f9c3cca03e0f18648db567625b5edbe368b4f
parentf6d614d4596728a3a2808eac2539754023e42262
Bug 26232: Empty smart rule fine grace period

Staff can create smart rules with empty (undefined) fine grace period.
In Overdues.pm undefined firstremind means 0, do the same in Circulation.pm.

To test:
1. Apply these patches
2. Run:
   kshell
   prove t/db_dependent/Circulation.t

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm