X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=circ%2Fcirculation-home.pl;h=d10829f6d38784b54cc921d5e1a9795df1a3ef6e;hb=33cc81bbc37046d9a38ff3d4b64f546e5e8f77b8;hp=5eee81be284c66e77ed4d9761f081928d90c7bef;hpb=c101f779e587217ae5ac46ee18aa0292c30aa808;p=koha.git 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;