]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 13 Nov 2020 18:26:01 +0000 (18:26 +0000)
commite3c24d9549d04a90a24d08f463f19e7a933b5ff7
tree8a8149a5284acc34d78687bf8e5ebf23c2e0abdf
parentaec2d4a8f62fb4be19bddd3fe69663c3df93f1be
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>
(cherry picked from commit 7e66d6d190af4bd27739bdfe88049899f927c123)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Circulation.pm