]> git.koha-community.org Git - koha.git/commit
Bug 25946: borrowerRelationship can be empty
authorPetro Vashchuk <stalkernoid@gmail.com>
Mon, 29 Mar 2021 13:58:25 +0000 (16:58 +0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Apr 2021 15:06:38 +0000 (17:06 +0200)
commit4490dfdf089c1e1eef44bfd4c71b84e7e9c8610a
tree1eecff50285feced818c2371cc173881582f2af7
parent7697cc23b2efb58547b91abcfe85e5729b90be36
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>
Koha/Patron/Relationship.pm
members/memberentry.pl