@@ -, +, @@ +Guarantors can be the following of those they guarantee: +(input multiple choices separated by |). Leave empty to deactivate. --- Koha/Patron/Relationship.pm | 2 +- members/memberentry.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Patron/Relationship.pm +++ a/Koha/Patron/Relationship.pm @@ -48,7 +48,7 @@ Overloaded method that makes some checks before storing on the DB sub store { my ( $self ) = @_; - my @valid_relationships = split /,|\|/, C4::Context->preference('borrowerRelationship'); + my @valid_relationships = split /\|/, C4::Context->preference('borrowerRelationship'); Koha::Exceptions::Patron::Relationship::InvalidRelationship->throw( no_relationship => 1 ) --- a/members/memberentry.pl +++ a/members/memberentry.pl @@ -107,7 +107,7 @@ my @messages; ## Deal with guarantor stuff $template->param( relationships => scalar $patron->guarantor_relationships ) if $patron; -my @relations = split /,|\|/, C4::Context->preference('borrowerRelationship'); +my @relations = split /\|/, C4::Context->preference('borrowerRelationship'); my $empty_relationship_allowed = grep {$_ eq ""} @relations; $template->param( empty_relationship_allowed => $empty_relationship_allowed ); --