Bug 6964 - 'Add child' function should be dependant on system preference 'borrowerRel...
[koha_fer] / circ / circulation.pl
index 1b6c619..e8d22cb 100755 (executable)
@@ -705,6 +705,7 @@ $template->param(
     soundon           => C4::Context->preference("SoundOn"),
     fast_cataloging   => $fast_cataloging,
     CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
+       activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
 );
 
 # save stickyduedate to session