Lines 107-113
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 |
@relations = ('') unless @relations; |
111 |
my $empty_relationship_allowed = grep {$_ eq ""} @relations; |
112 |
my $empty_relationship_allowed = grep {$_ eq ""} @relations; |
112 |
$template->param( empty_relationship_allowed => $empty_relationship_allowed ); |
113 |
$template->param( empty_relationship_allowed => $empty_relationship_allowed ); |
113 |
|
114 |
|
114 |
- |
|
|