Bug 23104: (bug 18925 follow-up): Fix null/empty behavior, again
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 12 Jun 2019 14:12:27 +0000 (09:12 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 18 Jun 2019 09:01:50 +0000 (10:01 +0100)
commit8c8e36cf7abf51113654c5e1c0497f918a1cd56c
tree377a7dab57436e1460bb1c5e91c4bd16aa029773
parent1521a5567ea17c8adf5339249251bb275b5109de
Bug 23104: (bug 18925 follow-up): Fix null/empty behavior, again

Not kidding, it's again, and will certainly appear more.
The problem is that we should have a NULL value in DB to make things
more readable and logical. Now we need a quick fix.

Test plan:
Set "Current checkouts allowed" to unlimited (empty string)
Try to check an item out
=> Without this patch we are blocked with a "too many" message
=> With this patch applied the correct behavior is back!

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm