Bug 26232: Empty smart rule fine grace period
commit7e66d6d190af4bd27739bdfe88049899f927c123
authorDidier Gautheron <didier.gautheron@biblibre.com>
Tue, 18 Aug 2020 05:40:50 +0000 (18 07:40 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 25 Oct 2020 23:04:18 +0000 (26 00:04 +0100)
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