View | Details | Raw Unified | Return to bug 25946
Collapse All | Expand All

(-)a/members/memberentry.pl (-3 / +2 lines)
Lines 107-114 my @messages; Link Here
107
## Deal with guarantor stuff
107
## Deal with guarantor stuff
108
$template->param( relationships => scalar $patron->guarantor_relationships ) if $patron;
108
$template->param( relationships => scalar $patron->guarantor_relationships ) if $patron;
109
109
110
my @relations = split /,|\|/, C4::Context->preference('borrowerRelationship');
110
my @relations = split /,|\|/, C4::Context->preference('borrowerRelationship'), -1;
111
my $empty_relationship_allowed = grep {$_ eq ""} @relations;
111
my $empty_relationship_allowed = grep {$_ eq ""} (@relations || '');
112
$template->param( empty_relationship_allowed => $empty_relationship_allowed );
112
$template->param( empty_relationship_allowed => $empty_relationship_allowed );
113
113
114
my $guarantor_id = $input->param('guarantor_id');
114
my $guarantor_id = $input->param('guarantor_id');
115
- 

Return to bug 25946