Lines 109-115
$template->param( relationships => scalar $patron->guarantor_relationships ) if
Link Here
|
109 |
|
109 |
|
110 |
my @relations = split /,|\|/, C4::Context->preference('borrowerRelationship'), -1; |
110 |
my @relations = split /,|\|/, C4::Context->preference('borrowerRelationship'), -1; |
111 |
@relations = ('') unless @relations; |
111 |
@relations = ('') unless @relations; |
|
|
112 |
warn Data::Dumper::Dumper( \@relations ); |
112 |
my $empty_relationship_allowed = grep {$_ eq ""} @relations; |
113 |
my $empty_relationship_allowed = grep {$_ eq ""} @relations; |
|
|
114 |
warn $empty_relationship_allowed; |
113 |
$template->param( empty_relationship_allowed => $empty_relationship_allowed ); |
115 |
$template->param( empty_relationship_allowed => $empty_relationship_allowed ); |
114 |
|
116 |
|
115 |
my $guarantor_id = $input->param('guarantor_id'); |
117 |
my $guarantor_id = $input->param('guarantor_id'); |