]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 20 Jun 2019 12:52:30 +0000 (14:52 +0200)
commit1f0c8fd9bdd819f872a287538de976ccbea0cbda
tree5bd46b05df11d076672d53dc8fcc02fdb6a08fb3
parent2def4aee187eeaf3fb48b3ebfaa85ce6c48f2fe6
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>
(cherry picked from commit 8c8e36cf7abf51113654c5e1c0497f918a1cd56c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Circulation.pm