X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=circ%2Fcirculation-home.pl;h=d10829f6d38784b54cc921d5e1a9795df1a3ef6e;hb=716eaecc6c35b0491ba248ddba27273181f48856;hp=5eee81be284c66e77ed4d9761f081928d90c7bef;hpb=5d7b5533f1565a55ff269fd82690a71a697901f1;p=koha_fer diff --git a/circ/circulation-home.pl b/circ/circulation-home.pl index 5eee81be28..d10829f6d3 100755 --- a/circ/circulation-home.pl +++ b/circ/circulation-home.pl @@ -38,7 +38,8 @@ my $fa = getframeworkinfo('FA'); $template->param( fast_cataloging => 1 ) if (defined $fa); # Checking if the transfer page needs to be displayed -$template->param( display_transfer => 1 ) if ( ($flags->{'superlibrarian'} == 1) || (C4::Context->preference("IndependantBranches") == 0) ); +$template->param( display_transfer => 1 ) if ( ($flags->{'superlibrarian'} == 1) || (C4::Context->preference("IndependentBranches") == 0) ); +$template->{'VARS'}->{'AllowOfflineCirculation'} = C4::Context->preference('AllowOfflineCirculation'); output_html_with_http_headers $query, $cookie, $template->output;