Bug 25946: borrowerRelationship can be empty
authorPetro Vashchuk <stalkernoid@gmail.com>
Mon, 29 Mar 2021 13:58:25 +0000 (16:58 +0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 7 Apr 2021 09:42:20 +0000 (11:42 +0200)
commit2a908ee7151cf23b2059a82b5a5c0b447afe73d5
tree681dffd3a7c5bfba801d6d1420ada58340b29464
parentd3883575b7b5e154f597ead4bf5e5d7fc326cd4e
Bug 25946: borrowerRelationship can be empty

Do not split the config using comma.

From syspref description of borrowerRelationship preference:

> Guarantors can be the following of those they guarantee:
> (input multiple choices separated by |). Leave empty to deactivate.

As it doesn't mention comma at all, I removed ',' from split.
Of course if comma is actually a viable way to split separate choices,
I can obsolete this patch and append to the syspref description that it
also can be separated by comma.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4490dfdf089c1e1eef44bfd4c71b84e7e9c8610a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patron/Relationship.pm
members/memberentry.pl