Bug 6964 - 'Add child' function should be dependant on system preference 'borrowerRel...
[koha.git] / members / member-flags.pl
index 76f300e..ca8c9d0 100755 (executable)
@@ -191,6 +191,7 @@ $template->param(
                branchname => GetBranchName($bor->{'branchcode'}),
                loop => \@loop,
                is_child        => ($bor->{'category_type'} eq 'C'),
+               activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
                );
 
     output_html_with_http_headers $input, $cookie, $template->output;