Bug 31785: Fix for adding non-public library
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 14 Oct 2022 07:42:26 +0000 (07:42 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 5 Dec 2022 20:13:18 +0000 (20:13 +0000)
commit83f20319c35c36802fc8ea60632a4a1a2e49d9b5
tree29ee5533f31432f8323e865dffff5819f92946c3
parenteb1083beb262ca390ad3789c90cbb3fba37e9431
Bug 31785: Fix for adding non-public library

The code in admin/branches.pl changed a 0 to undef which is not
desirable for booleans.
A similar fix was already present for pickup_location.
This may need a bit more thought (somewhere else!).

Test plan:
Add a new branch with pickup location No, public No.
Check.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9c4a557c970705cad8f209f05b1f615940fde0ca)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/branches.pl